Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,10 @@ def create_or_update(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param disk_name: The name of the disk within the given subscription
and resource group.
:param disk_name: The name of the managed disk that is being created.
The name can't be changed after the disk is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The maximum name
length is 80 characters.
:type disk_name: str
:param disk: Disk object supplied in the body of the Put disk
operation.
Expand Down Expand Up @@ -218,8 +220,10 @@ def update(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param disk_name: The name of the disk within the given subscription
and resource group.
:param disk_name: The name of the managed disk that is being created.
The name can't be changed after the disk is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The maximum name
length is 80 characters.
:type disk_name: str
:param disk: Disk object supplied in the body of the Patch disk
operation.
Expand Down Expand Up @@ -287,8 +291,10 @@ def get(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param disk_name: The name of the disk within the given subscription
and resource group.
:param disk_name: The name of the managed disk that is being created.
The name can't be changed after the disk is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The maximum name
length is 80 characters.
:type disk_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down Expand Up @@ -395,8 +401,10 @@ def delete(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param disk_name: The name of the disk within the given subscription
and resource group.
:param disk_name: The name of the managed disk that is being created.
The name can't be changed after the disk is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The maximum name
length is 80 characters.
:type disk_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down Expand Up @@ -643,8 +651,10 @@ def grant_access(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param disk_name: The name of the disk within the given subscription
and resource group.
:param disk_name: The name of the managed disk that is being created.
The name can't be changed after the disk is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The maximum name
length is 80 characters.
:type disk_name: str
:param access: Possible values include: 'None', 'Read'
:type access: str or
Expand Down Expand Up @@ -762,8 +772,10 @@ def revoke_access(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param disk_name: The name of the disk within the given subscription
and resource group.
:param disk_name: The name of the managed disk that is being created.
The name can't be changed after the disk is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The maximum name
length is 80 characters.
:type disk_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,10 @@ def create_or_update(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param disk_name: The name of the disk within the given subscription
and resource group.
:param disk_name: The name of the managed disk that is being created.
The name can't be changed after the disk is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The maximum name
length is 80 characters.
:type disk_name: str
:param disk: Disk object supplied in the body of the Put disk
operation.
Expand Down Expand Up @@ -218,8 +220,10 @@ def update(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param disk_name: The name of the disk within the given subscription
and resource group.
:param disk_name: The name of the managed disk that is being created.
The name can't be changed after the disk is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The maximum name
length is 80 characters.
:type disk_name: str
:param disk: Disk object supplied in the body of the Patch disk
operation.
Expand Down Expand Up @@ -287,8 +291,10 @@ def get(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param disk_name: The name of the disk within the given subscription
and resource group.
:param disk_name: The name of the managed disk that is being created.
The name can't be changed after the disk is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The maximum name
length is 80 characters.
:type disk_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down Expand Up @@ -395,8 +401,10 @@ def delete(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param disk_name: The name of the disk within the given subscription
and resource group.
:param disk_name: The name of the managed disk that is being created.
The name can't be changed after the disk is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The maximum name
length is 80 characters.
:type disk_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down Expand Up @@ -643,8 +651,10 @@ def grant_access(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param disk_name: The name of the disk within the given subscription
and resource group.
:param disk_name: The name of the managed disk that is being created.
The name can't be changed after the disk is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The maximum name
length is 80 characters.
:type disk_name: str
:param access: Possible values include: 'None', 'Read'
:type access: str or
Expand Down Expand Up @@ -762,8 +772,10 @@ def revoke_access(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param disk_name: The name of the disk within the given subscription
and resource group.
:param disk_name: The name of the managed disk that is being created.
The name can't be changed after the disk is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The maximum name
length is 80 characters.
:type disk_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,10 @@ def create_or_update(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param snapshot_name: The name of the snapshot within the given
subscription and resource group.
:param snapshot_name: The name of the snapshot that is being created.
The name can't be changed after the snapshot is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The max name length
is 80 characters.
:type snapshot_name: str
:param snapshot: Snapshot object supplied in the body of the Put disk
operation.
Expand Down Expand Up @@ -218,8 +220,10 @@ def update(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param snapshot_name: The name of the snapshot within the given
subscription and resource group.
:param snapshot_name: The name of the snapshot that is being created.
The name can't be changed after the snapshot is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The max name length
is 80 characters.
:type snapshot_name: str
:param snapshot: Snapshot object supplied in the body of the Patch
snapshot operation.
Expand Down Expand Up @@ -287,8 +291,10 @@ def get(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param snapshot_name: The name of the snapshot within the given
subscription and resource group.
:param snapshot_name: The name of the snapshot that is being created.
The name can't be changed after the snapshot is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The max name length
is 80 characters.
:type snapshot_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down Expand Up @@ -395,8 +401,10 @@ def delete(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param snapshot_name: The name of the snapshot within the given
subscription and resource group.
:param snapshot_name: The name of the snapshot that is being created.
The name can't be changed after the snapshot is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The max name length
is 80 characters.
:type snapshot_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down Expand Up @@ -643,8 +651,10 @@ def grant_access(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param snapshot_name: The name of the snapshot within the given
subscription and resource group.
:param snapshot_name: The name of the snapshot that is being created.
The name can't be changed after the snapshot is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The max name length
is 80 characters.
:type snapshot_name: str
:param access: Possible values include: 'None', 'Read'
:type access: str or
Expand Down Expand Up @@ -762,8 +772,10 @@ def revoke_access(

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param snapshot_name: The name of the snapshot within the given
subscription and resource group.
:param snapshot_name: The name of the snapshot that is being created.
The name can't be changed after the snapshot is created. Supported
characters for the name are a-z, A-Z, 0-9 and _. The max name length
is 80 characters.
:type snapshot_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from msrest import Serializer, Deserializer
from msrestazure import AzureConfiguration
from .version import VERSION
from .operations.compute_operations import ComputeOperations
from .operations.availability_sets_operations import AvailabilitySetsOperations
from .operations.virtual_machine_extension_images_operations import VirtualMachineExtensionImagesOperations
from .operations.virtual_machine_extensions_operations import VirtualMachineExtensionsOperations
Expand All @@ -25,6 +26,7 @@
from .operations.virtual_machine_scale_set_extensions_operations import VirtualMachineScaleSetExtensionsOperations
from .operations.virtual_machine_scale_set_rolling_upgrades_operations import VirtualMachineScaleSetRollingUpgradesOperations
from .operations.virtual_machine_scale_set_vms_operations import VirtualMachineScaleSetVMsOperations
from .operations.log_analytics_operations import LogAnalyticsOperations
from .operations.virtual_machine_run_commands_operations import VirtualMachineRunCommandsOperations
from . import models

Expand Down Expand Up @@ -69,6 +71,8 @@ class ComputeManagementClient(object):
:ivar config: Configuration for client.
:vartype config: ComputeManagementClientConfiguration

:ivar compute_operations: ComputeOperations operations
:vartype compute_operations: azure.mgmt.compute.v2017_12_01.operations.ComputeOperations
:ivar availability_sets: AvailabilitySets operations
:vartype availability_sets: azure.mgmt.compute.v2017_12_01.operations.AvailabilitySetsOperations
:ivar virtual_machine_extension_images: VirtualMachineExtensionImages operations
Expand All @@ -93,6 +97,8 @@ class ComputeManagementClient(object):
:vartype virtual_machine_scale_set_rolling_upgrades: azure.mgmt.compute.v2017_12_01.operations.VirtualMachineScaleSetRollingUpgradesOperations
:ivar virtual_machine_scale_set_vms: VirtualMachineScaleSetVMs operations
:vartype virtual_machine_scale_set_vms: azure.mgmt.compute.v2017_12_01.operations.VirtualMachineScaleSetVMsOperations
:ivar log_analytics: LogAnalytics operations
:vartype log_analytics: azure.mgmt.compute.v2017_12_01.operations.LogAnalyticsOperations
:ivar virtual_machine_run_commands: VirtualMachineRunCommands operations
:vartype virtual_machine_run_commands: azure.mgmt.compute.v2017_12_01.operations.VirtualMachineRunCommandsOperations

Expand All @@ -117,6 +123,8 @@ def __init__(
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.compute_operations = ComputeOperations(
self._client, self.config, self._serialize, self._deserialize)
self.availability_sets = AvailabilitySetsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.virtual_machine_extension_images = VirtualMachineExtensionImagesOperations(
Expand All @@ -141,5 +149,7 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.virtual_machine_scale_set_vms = VirtualMachineScaleSetVMsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.log_analytics = LogAnalyticsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.virtual_machine_run_commands = VirtualMachineRunCommandsOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
# regenerated.
# --------------------------------------------------------------------------

from .compute_operation_value import ComputeOperationValue
from .compute_operation_list_result import ComputeOperationListResult
from .instance_view_status import InstanceViewStatus
from .sub_resource import SubResource
from .sku import Sku
Expand Down Expand Up @@ -112,7 +114,13 @@
from .resource import Resource
from .update_resource import UpdateResource
from .sub_resource_read_only import SubResourceReadOnly
from .recovery_walk_response import RecoveryWalkResponse
from .operation_status_response import OperationStatusResponse
from .request_rate_by_interval_input import RequestRateByIntervalInput
from .throttled_requests_input import ThrottledRequestsInput
from .log_analytics_input_base import LogAnalyticsInputBase
from .log_analytics_output import LogAnalyticsOutput
from .log_analytics_operation_result import LogAnalyticsOperationResult
from .run_command_input_parameter import RunCommandInputParameter
from .run_command_input import RunCommandInput
from .run_command_parameter_definition import RunCommandParameterDefinition
Expand Down Expand Up @@ -149,10 +157,13 @@
VirtualMachineScaleSetSkuScaleType,
RollingUpgradeStatusCode,
RollingUpgradeActionType,
IntervalInMins,
InstanceViewTypes,
)

__all__ = [
'ComputeOperationValue',
'ComputeOperationListResult',
'InstanceViewStatus',
'SubResource',
'Sku',
Expand Down Expand Up @@ -256,7 +267,13 @@
'Resource',
'UpdateResource',
'SubResourceReadOnly',
'RecoveryWalkResponse',
'OperationStatusResponse',
'RequestRateByIntervalInput',
'ThrottledRequestsInput',
'LogAnalyticsInputBase',
'LogAnalyticsOutput',
'LogAnalyticsOperationResult',
'RunCommandInputParameter',
'RunCommandInput',
'RunCommandParameterDefinition',
Expand Down Expand Up @@ -292,5 +309,6 @@
'VirtualMachineScaleSetSkuScaleType',
'RollingUpgradeStatusCode',
'RollingUpgradeActionType',
'IntervalInMins',
'InstanceViewTypes',
]
Loading