-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathAz_Pause_Resume_details.txt
104 lines (96 loc) · 3.84 KB
/
Az_Pause_Resume_details.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
Python Library Documentation: package simplepbi.azpause in simplepbi
NAME
simplepbi.azpause
DESCRIPTION
.
@@@@@@@@@@
@@@@..........@@@@
@@@ . @@@
@@. . . @@
@ . _ . . @
@........| |...................@ *********************************************
@ . | | _____ . @
@ . | | | __ \ . @ La Data Web
@ . | |__| | | |. *** @
@........|____| | | |...* *.@ Copyright © 2023 Ignacio Barrau
@ . . | |__| |. * *@
@ . . |_____/ . * *@ *********************************************
@ . . . * *@
@ . . . *******@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
PACKAGE CONTENTS
CLASSES
builtins.object
Azpause
class Azpause(builtins.object)
| Azpause(tenant_id, client_id, client_secret)
|
| Simple library to use the Azure management resource to pause or resume AAS and PBI Embedded.
|
| Methods defined here:
|
| __init__(self, tenant_id, client_id, client_secret)
| Create a SimplePBI azpause object to get authentication token and methods.
|
| Service principal authentication (set use_service_principal to True)
| Provide: tenant_id
| client_id
| client_secret
| Args:
| tenant_id : String
| Tenant ID to connect to.
| client_id : String
| Client ID (also known as App ID)
| client_secret : String
| The secret to authenticate with the Client ID.
|
| pause_resource(self, subscriptionId, resourceGroupName, resourceType, resourceName)
| Function to pause Azure Analysis Services or PowerBi Embedded capacity
| ### Parameters
| ----
| subscriptionId: str uuid
| The Azure subscription id
| resourceGroupName: str
| The Azure resource group name containing the resource
| resourceType: str
| The Azure resource type. It can be "FABRIC", "AAS" or "PBI"
| resourceName: str
| The Azure resource name. If it's AAS server name, if it's PBI embedded then capacity name.
| ### Returns
| ----
| Dict:
| A dictionary containing the specified installed app.
| ### Limitations
| ----
| Service principal authentication isn't supported.
|
| resume_resource(self, subscriptionId, resourceGroupName, resourceType, resourceName)
| Function to resume Azure Analysis Services or PowerBi Embedded capacity
| ### Parameters
| ----
| subscriptionId: str uuid
| The Azure subscription id
| resourceGroupName: str
| The Azure resource group name containing the resource
| resourceType: str
| The Azure resource type. It can be "FABRIC", "AAS" or "PBI"
| resourceName: str
| The Azure resource name. If it's AAS server name, if it's PBI embedded then capacity name.
| ### Returns
| ----
| Dict:
| A dictionary containing the specified installed app.
| ### Limitations
| ----
| Service principal authentication isn't supported.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __dict__
| dictionary for instance variables (if defined)
|
| __weakref__
| list of weak references to the object (if defined)
FILE
c:\users\ibarrau\documents\github\simplepbi\simplepbi\azpause\__init__.py