azure.mgmt.devopsinfrastructure.models module¶
- class azure.mgmt.devopsinfrastructure.models.AgentProfile(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelThe agent profile of the machines in the pool.
You probably want to use the sub-classes and not this class directly. Known sub-classes are: Stateful, StatelessAgentProfile
- Variables:
kind (str) – Discriminator property for AgentProfile. Required. Default value is None.
resource_predictions (ResourcePredictions) – Defines pool buffer/stand-by agents.
resource_predictions_profile (ResourcePredictionsProfile) – Defines how the pool buffer/stand-by agents is provided.
- resource_predictions: _models.ResourcePredictions | None¶
Defines pool buffer/stand-by agents.
- resource_predictions_profile: _models.ResourcePredictionsProfile | None¶
Defines how the pool buffer/stand-by agents is provided.
- class azure.mgmt.devopsinfrastructure.models.AutomaticResourcePredictionsProfile(*args: Any, **kwargs: Any)[source]¶
Bases:
ResourcePredictionsProfileThe stand-by agent scheme is determined based on historical demand.
- Variables:
kind (str or AUTOMATIC) – The stand-by agent scheme is determined based on historical demand. Required. The stand-by agent scheme is determined based on historical demand.
prediction_preference (str or PredictionPreference) – Determines the balance between cost and performance. Known values are: “Balanced”, “MostCostEffective”, “MoreCostEffective”, “MorePerformance”, and “BestPerformance”.
- class azure.mgmt.devopsinfrastructure.models.AzureDevOpsOrganizationProfile(*args: Any, **kwargs: Any)[source]¶
Bases:
OrganizationProfileAzure DevOps organization profile.
- Variables:
kind (str) – Azure DevOps organization profile. Required. Default value is “AzureDevOps”.
organizations (list[Organization]) – The list of Azure DevOps organizations the pool should be present in. Required.
permission_profile (AzureDevOpsPermissionProfile) – The type of permission which determines which accounts are admins on the Azure DevOps pool.
- kind: Literal['AzureDevOps']¶
Azure DevOps organization profile. Required. Default value is “AzureDevOps”.
- organizations: List[_models.Organization]¶
The list of Azure DevOps organizations the pool should be present in. Required.
- permission_profile: _models.AzureDevOpsPermissionProfile | None¶
The type of permission which determines which accounts are admins on the Azure DevOps pool.
- class azure.mgmt.devopsinfrastructure.models.AzureDevOpsPermissionProfile(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelDefines the type of Azure DevOps pool permission.
- Variables:
- class azure.mgmt.devopsinfrastructure.models.AzureDevOpsPermissionType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Determines who has admin permissions to the Azure DevOps pool.
- CREATOR_ONLY = 'CreatorOnly'¶
Only the pool creator will be an admin of the pool.
- INHERIT = 'Inherit'¶
Pool will inherit permissions from the project or organization.
- SPECIFIC_ACCOUNTS = 'SpecificAccounts'¶
Only the specified accounts will be admins of the pool.
- class azure.mgmt.devopsinfrastructure.models.CachingType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
The type of caching in a data disk.
- NONE = 'None'¶
Don’t use host caching.
- READ_ONLY = 'ReadOnly'¶
For workloads that only do read operations.
- READ_WRITE = 'ReadWrite'¶
For workloads that do a balance of read and write operations.
- class azure.mgmt.devopsinfrastructure.models.CreatedByType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
The kind of entity that created the resource.
- APPLICATION = 'Application'¶
The entity was created by an application.
- KEY = 'Key'¶
The entity was created by a key.
- MANAGED_IDENTITY = 'ManagedIdentity'¶
The entity was created by a managed identity.
- USER = 'User'¶
The entity was created by a user.
- class azure.mgmt.devopsinfrastructure.models.DataDisk(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelThe data disk of the VMSS.
- Variables:
caching (str or CachingType) – The type of caching to be enabled for the data disks. The default value for caching is readwrite. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. Known values are: “None”, “ReadOnly”, and “ReadWrite”.
disk_size_gi_b (int) – The initial disk size in gigabytes.
storage_account_type (str or StorageAccountType) – The storage Account type to be used for the data disk. If omitted, the default is “standard_lrs”. Known values are: “Standard_LRS”, “Premium_LRS”, “StandardSSD_LRS”, “Premium_ZRS”, and “StandardSSD_ZRS”.
drive_letter (str) – The drive letter for the empty data disk. If not specified, it will be the first available letter.
- caching: str | _models.CachingType | None¶
The type of caching to be enabled for the data disks. The default value for caching is readwrite. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. Known values are: “None”, “ReadOnly”, and “ReadWrite”.
- class azure.mgmt.devopsinfrastructure.models.DevOpsAzureSku(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelThe Azure SKU of the machines in the pool.
- Variables:
name (str) – The Azure SKU name of the machines in the pool. Required.
- class azure.mgmt.devopsinfrastructure.models.ErrorAdditionalInfo(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelThe resource management error additional info.
Readonly variables are only populated by the server, and will be ignored when sending a request.
- Variables:
type (str) – The additional info type.
info (any) – The additional info.
- class azure.mgmt.devopsinfrastructure.models.ErrorDetail(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelThe error detail.
Readonly variables are only populated by the server, and will be ignored when sending a request.
- Variables:
code (str) – The error code.
message (str) – The error message.
target (str) – The error target.
details (list[ErrorDetail]) – The error details.
additional_info (list[ErrorAdditionalInfo]) – The error additional info.
- additional_info: List[_models.ErrorAdditionalInfo] | None¶
The error additional info.
- details: List[_models.ErrorDetail] | None¶
The error details.
- class azure.mgmt.devopsinfrastructure.models.ErrorResponse(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelCommon error response for all Azure Resource Manager APIs to return error details for failed operations.
- Variables:
error (ErrorDetail) – The error object.
- error: _models.ErrorDetail | None¶
The error object.
- class azure.mgmt.devopsinfrastructure.models.FabricProfile(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelDefines the type of fabric the agent will run on.
You probably want to use the sub-classes and not this class directly. Known sub-classes are: VmssFabricProfile
- Variables:
kind (str) – Discriminator property for FabricProfile. Required. Default value is None.
- class azure.mgmt.devopsinfrastructure.models.GitHubOrganization(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelDefines a GitHub organization.
- Variables:
- class azure.mgmt.devopsinfrastructure.models.GitHubOrganizationProfile(*args: Any, **kwargs: Any)[source]¶
Bases:
OrganizationProfileGitHub organization profile.
- Variables:
kind (str) – GitHub organization profile. Required. Default value is “GitHub”.
organizations (list[GitHubOrganization]) – The list of GitHub organizations/repositories the pool should be present in. Required.
- organizations: List[_models.GitHubOrganization]¶
The list of GitHub organizations/repositories the pool should be present in. Required.
- class azure.mgmt.devopsinfrastructure.models.ImageVersion(*args: Any, **kwargs: Any)[source]¶
Bases:
ProxyResourceAn image version object.
Readonly variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
properties (ImageVersionProperties) – The resource-specific properties for this resource.
- properties: _models.ImageVersionProperties | None¶
The resource-specific properties for this resource.
- class azure.mgmt.devopsinfrastructure.models.ImageVersionProperties(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelDetails of the ImageVersionProperties.
- Variables:
version (str) – Version of the image. Required.
- class azure.mgmt.devopsinfrastructure.models.LogonType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Determines how the service should be run.
- INTERACTIVE = 'Interactive'¶
Run in interactive mode.
- SERVICE = 'Service'¶
Run as a service.
- class azure.mgmt.devopsinfrastructure.models.ManagedServiceIdentity(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelManaged service identity (system assigned and/or user assigned identities).
Readonly variables are only populated by the server, and will be ignored when sending a request.
- Variables:
principal_id (str) – The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenant_id (str) – The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type (str or ManagedServiceIdentityType) – The type of managed identity assigned to this resource. Required. Known values are: “None”, “SystemAssigned”, “UserAssigned”, and “SystemAssigned,UserAssigned”.
user_assigned_identities (dict[str, UserAssignedIdentity]) – The identities assigned to this resource by the user.
- principal_id: str | None¶
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_id: str | None¶
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type: str | _models.ManagedServiceIdentityType¶
“None”, “SystemAssigned”, “UserAssigned”, and “SystemAssigned,UserAssigned”.
- Type:
The type of managed identity assigned to this resource. Required. Known values are
- user_assigned_identities: Dict[str, _models.UserAssignedIdentity] | None¶
The identities assigned to this resource by the user.
- class azure.mgmt.devopsinfrastructure.models.ManagedServiceIdentityType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- NONE = 'None'¶
No managed identity.
- SYSTEM_ASSIGNED = 'SystemAssigned'¶
System assigned managed identity.
- SYSTEM_ASSIGNED_USER_ASSIGNED = 'SystemAssigned,UserAssigned'¶
System and user assigned managed identity.
- USER_ASSIGNED = 'UserAssigned'¶
User assigned managed identity.
- class azure.mgmt.devopsinfrastructure.models.ManualResourcePredictionsProfile(*args: Any, **kwargs: Any)[source]¶
Bases:
ResourcePredictionsProfileCustomer provides the stand-by agent scheme.
- Variables:
kind (str or MANUAL) – Customer provides the stand-by agent scheme. Required. Customer provides the stand-by agent scheme.
- class azure.mgmt.devopsinfrastructure.models.NetworkProfile(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelThe network profile of the machines in the pool.
- Variables:
subnet_id (str) – The subnet id on which to put all machines created in the pool. Required.
- class azure.mgmt.devopsinfrastructure.models.Organization(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelDefines an Azure DevOps organization.
- Variables:
url (str) – The Azure DevOps organization URL in which the pool should be created. Required.
projects (list[str]) – Optional list of projects in which the pool should be created.
parallelism (int) – How many machines can be created at maximum in this organization out of the maximumConcurrency of the pool.
- class azure.mgmt.devopsinfrastructure.models.OrganizationProfile(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelDefines the organization in which the pool will be used.
You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureDevOpsOrganizationProfile, GitHubOrganizationProfile
- Variables:
kind (str) – Discriminator property for OrganizationProfile. Required. Default value is None.
- class azure.mgmt.devopsinfrastructure.models.OsDiskStorageAccountType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
The storage account type of the OS disk.
- PREMIUM = 'Premium'¶
Premium OS disk type.
- STANDARD = 'Standard'¶
Standard OS disk type.
- STANDARD_SSD = 'StandardSSD'¶
Standard SSD OS disk type.
- class azure.mgmt.devopsinfrastructure.models.OsProfile(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelThe OS profile of the machines in the pool.
- Variables:
secrets_management_settings (SecretsManagementSettings) – The secret management settings of the machines in the pool.
logon_type (str or LogonType) – Determines how the service should be run. By default, this will be set to Service. Known values are: “Service” and “Interactive”.
- logon_type: str | _models.LogonType | None¶
Determines how the service should be run. By default, this will be set to Service. Known values are: “Service” and “Interactive”.
- secrets_management_settings: _models.SecretsManagementSettings | None¶
The secret management settings of the machines in the pool.
- class azure.mgmt.devopsinfrastructure.models.Pool(*args: Any, **kwargs: Any)[source]¶
Bases:
TrackedResourceConcrete tracked resource types can be created by aliasing this type using a specific property type.
Readonly variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
location (str) – The geo-location where the resource lives. Required.
properties (PoolProperties) – The resource-specific properties for this resource.
identity (ManagedServiceIdentity) – The managed service identities assigned to this resource.
- identity: _models.ManagedServiceIdentity | None¶
The managed service identities assigned to this resource.
- properties: _models.PoolProperties | None¶
The resource-specific properties for this resource.
- class azure.mgmt.devopsinfrastructure.models.PoolImage(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelThe VM image of the machines in the pool.
- Variables:
- class azure.mgmt.devopsinfrastructure.models.PoolProperties(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelPool properties.
- Variables:
provisioning_state (str or ProvisioningState) – The status of the current operation. Known values are: “Succeeded”, “Failed”, “Canceled”, “Provisioning”, “Updating”, “Deleting”, and “Accepted”.
maximum_concurrency (int) – Defines how many resources can there be created at any given time. Required.
organization_profile (OrganizationProfile) – Defines the organization in which the pool will be used. Required.
agent_profile (AgentProfile) – Defines how the machine will be handled once it executed a job. Required.
fabric_profile (FabricProfile) – Defines the type of fabric the agent will run on. Required.
dev_center_project_resource_id (str) – The resource id of the DevCenter Project the pool belongs to. Required.
- agent_profile: _models.AgentProfile¶
Defines how the machine will be handled once it executed a job. Required.
- dev_center_project_resource_id: str¶
The resource id of the DevCenter Project the pool belongs to. Required.
- fabric_profile: _models.FabricProfile¶
Defines the type of fabric the agent will run on. Required.
- maximum_concurrency: int¶
Defines how many resources can there be created at any given time. Required.
- organization_profile: _models.OrganizationProfile¶
Defines the organization in which the pool will be used. Required.
- class azure.mgmt.devopsinfrastructure.models.PoolUpdate(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelThe type used for update operations of the Pool.
- Variables:
identity (ManagedServiceIdentity) – The managed service identities assigned to this resource.
properties (PoolUpdateProperties) – The resource-specific properties for this resource.
- identity: _models.ManagedServiceIdentity | None¶
The managed service identities assigned to this resource.
- properties: _models.PoolUpdateProperties | None¶
The resource-specific properties for this resource.
- class azure.mgmt.devopsinfrastructure.models.PoolUpdateProperties(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelThe updatable properties of the Pool.
- Variables:
provisioning_state (str or ProvisioningState) – The status of the current operation. Known values are: “Succeeded”, “Failed”, “Canceled”, “Provisioning”, “Updating”, “Deleting”, and “Accepted”.
maximum_concurrency (int) – Defines how many resources can there be created at any given time.
organization_profile (OrganizationProfile) – Defines the organization in which the pool will be used.
agent_profile (AgentProfile) – Defines how the machine will be handled once it executed a job.
fabric_profile (FabricProfile) – Defines the type of fabric the agent will run on.
dev_center_project_resource_id (str) – The resource id of the DevCenter Project the pool belongs to.
- agent_profile: _models.AgentProfile | None¶
Defines how the machine will be handled once it executed a job.
- dev_center_project_resource_id: str | None¶
The resource id of the DevCenter Project the pool belongs to.
- fabric_profile: _models.FabricProfile | None¶
Defines the type of fabric the agent will run on.
- organization_profile: _models.OrganizationProfile | None¶
Defines the organization in which the pool will be used.
- class azure.mgmt.devopsinfrastructure.models.PredictionPreference(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Determines the balance between cost and performance.
- BALANCED = 'Balanced'¶
Balance between cost and performance.
- BEST_PERFORMANCE = 'BestPerformance'¶
Optimizes for performance over cost.
- MORE_COST_EFFECTIVE = 'MoreCostEffective'¶
Halfway through cost and balanced.
- MORE_PERFORMANCE = 'MorePerformance'¶
Halfway through balanced and performance.
- MOST_COST_EFFECTIVE = 'MostCostEffective'¶
Optimizes for cost over performance.
- class azure.mgmt.devopsinfrastructure.models.ProvisioningState(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
The status of the current operation.
- ACCEPTED = 'Accepted'¶
Represents an accepted operation.
- CANCELED = 'Canceled'¶
Represents a canceled operation.
- DELETING = 'Deleting'¶
Represents an operation under deletion.
- FAILED = 'Failed'¶
Represents a failed operation.
- PROVISIONING = 'Provisioning'¶
Represents a pending operation.
- SUCCEEDED = 'Succeeded'¶
Represents a succeeded operation.
- UPDATING = 'Updating'¶
Represents a pending operation.
- class azure.mgmt.devopsinfrastructure.models.ProxyResource(*args: Any, **kwargs: Any)[source]¶
Bases:
ResourceThe resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location.
Readonly variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
- class azure.mgmt.devopsinfrastructure.models.Quota(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelDescribes Resource Quota.
Readonly variables are only populated by the server, and will be ignored when sending a request.
- Variables:
- name: _models.QuotaName | None¶
The name of the quota.
- class azure.mgmt.devopsinfrastructure.models.QuotaName(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelThe Quota Names.
- Variables:
- class azure.mgmt.devopsinfrastructure.models.Resource(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelCommon fields that are returned in the response for all Azure Resource Manager resources.
Readonly variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
- id: str | None¶
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
- system_data: _models.SystemData | None¶
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- class azure.mgmt.devopsinfrastructure.models.ResourceDetailsObject(*args: Any, **kwargs: Any)[source]¶
Bases:
ProxyResourceA ResourceDetailsObject.
Readonly variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
properties (ResourceDetailsObjectProperties) – The resource-specific properties for this resource.
- properties: _models.ResourceDetailsObjectProperties | None¶
The resource-specific properties for this resource.
- class azure.mgmt.devopsinfrastructure.models.ResourceDetailsObjectProperties(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelDetails of the ResourceDetailsObject.
- Variables:
status (str or ResourceStatus) – The status of the resource. Required. Known values are: “Ready”, “NotReady”, “Allocated”, “PendingReturn”, “Returned”, “Leased”, “Provisioning”, “Updating”, “Starting”, “PendingReimage”, and “Reimaging”.
image (str) – The image name of the resource. Required.
image_version (str) – The version of the image running on the resource. Required.
- class azure.mgmt.devopsinfrastructure.models.ResourcePredictions(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelDefines pool buffer.
- class azure.mgmt.devopsinfrastructure.models.ResourcePredictionsProfile(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelDetermines how the stand-by scheme should be provided.
You probably want to use the sub-classes and not this class directly. Known sub-classes are: AutomaticResourcePredictionsProfile, ManualResourcePredictionsProfile
- Variables:
kind (str or ResourcePredictionsProfileType) – Determines how the stand-by scheme should be provided. Required. Known values are: “Manual” and “Automatic”.
- class azure.mgmt.devopsinfrastructure.models.ResourcePredictionsProfileType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Determines how the stand-by scheme should be provided.
- AUTOMATIC = 'Automatic'¶
The stand-by agent scheme is determined based on historical demand.
- MANUAL = 'Manual'¶
Customer provides the stand-by agent scheme.
- class azure.mgmt.devopsinfrastructure.models.ResourceSku(*args: Any, **kwargs: Any)[source]¶
Bases:
ProxyResourceA ResourceSku.
Readonly variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
properties (ResourceSkuProperties) – The resource-specific properties for this resource.
- properties: _models.ResourceSkuProperties | None¶
The resource-specific properties for this resource.
- class azure.mgmt.devopsinfrastructure.models.ResourceSkuCapabilities(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelDescribes The SKU capabilities object.
- Variables:
- class azure.mgmt.devopsinfrastructure.models.ResourceSkuLocationInfo(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelDescribes an available Compute SKU Location Information.
- Variables:
location (str) – Location of the SKU. Required.
zones (list[str]) – List of availability zones where the SKU is supported. Required.
zone_details (list[ResourceSkuZoneDetails]) – Gets details of capabilities available to a SKU in specific zones. Required.
- zone_details: List[_models.ResourceSkuZoneDetails]¶
Gets details of capabilities available to a SKU in specific zones. Required.
- class azure.mgmt.devopsinfrastructure.models.ResourceSkuProperties(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelProperties of a ResourceSku.
- Variables:
resource_type (str) – The type of resource the SKU applies to. Required.
tier (str) – The tier of virtual machines in a scale set. Required.
size (str) – The size of the SKU. Required.
family (str) – The family of the SKU. Required.
locations (list[str]) – The set of locations that the SKU is available. Required.
location_info (list[ResourceSkuLocationInfo]) – A list of locations and availability zones in those locations where the SKU is available. Required.
capabilities (list[ResourceSkuCapabilities]) – Name value pairs to describe the capability. Required.
restrictions (list[ResourceSkuRestrictions]) – The restrictions of the SKU. Required.
- capabilities: List[_models.ResourceSkuCapabilities]¶
Name value pairs to describe the capability. Required.
- location_info: List[_models.ResourceSkuLocationInfo]¶
A list of locations and availability zones in those locations where the SKU is available. Required.
- restrictions: List[_models.ResourceSkuRestrictions]¶
The restrictions of the SKU. Required.
- class azure.mgmt.devopsinfrastructure.models.ResourceSkuRestrictionInfo(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelDescribes an available Compute SKU Restriction Information.
- Variables:
- class azure.mgmt.devopsinfrastructure.models.ResourceSkuRestrictions(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelThe restrictions of the SKU.
- Variables:
type (str or ResourceSkuRestrictionsType) – the type of restrictions. Known values are: “Location” and “Zone”.
values_property (list[str]) – The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. Required.
restriction_info (ResourceSkuRestrictionInfo) – The information about the restriction where the SKU cannot be used. Required.
reason_code (str or ResourceSkuRestrictionsReasonCode) – the reason for restriction. Known values are: “QuotaId” and “NotAvailableForSubscription”.
- reason_code: str | _models.ResourceSkuRestrictionsReasonCode | None¶
“QuotaId” and “NotAvailableForSubscription”.
- Type:
the reason for restriction. Known values are
- restriction_info: _models.ResourceSkuRestrictionInfo¶
The information about the restriction where the SKU cannot be used. Required.
- class azure.mgmt.devopsinfrastructure.models.ResourceSkuRestrictionsReasonCode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Describes the reason for SKU restriction.
- NOT_AVAILABLE_FOR_SUBSCRIPTION = 'NotAvailableForSubscription'¶
The restriction is not available for this subscription.
- QUOTA_ID = 'QuotaId'¶
The restriction is due to exceeding a quota limitation.
- class azure.mgmt.devopsinfrastructure.models.ResourceSkuRestrictionsType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Describes the kind of SKU restrictions that can exist.
- LOCATION = 'Location'¶
SKU restricted by location.
- ZONE = 'Zone'¶
SKU restricted by availability zone.
- class azure.mgmt.devopsinfrastructure.models.ResourceSkuZoneDetails(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelDescribes The zonal capabilities of a SKU.
- Variables:
name (list[str]) – Gets the set of zones that the SKU is available in with the specified capabilities. Required.
capabilities (list[ResourceSkuCapabilities]) – A list of capabilities that are available for the SKU in the specified list of zones. Required.
- capabilities: List[_models.ResourceSkuCapabilities]¶
A list of capabilities that are available for the SKU in the specified list of zones. Required.
- class azure.mgmt.devopsinfrastructure.models.ResourceStatus(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
The status of the machine resource.
- ALLOCATED = 'Allocated'¶
Represents a machine resource that is allocated.
- LEASED = 'Leased'¶
Represents a machine resource that is leased.
- NOT_READY = 'NotReady'¶
Represents a machine resource that is not ready.
- PENDING_REIMAGE = 'PendingReimage'¶
Represents a machine resource that is pending reimage.
- PENDING_RETURN = 'PendingReturn'¶
Represents a machine resource that is pending return.
- PROVISIONING = 'Provisioning'¶
Represents a machine resource that is provisioning.
- READY = 'Ready'¶
Represents a machine resource that is ready.
- REIMAGING = 'Reimaging'¶
Represents a machine resource that is reimaging.
- RETURNED = 'Returned'¶
Represents a machine resource that is returned.
- STARTING = 'Starting'¶
Represents a machine resource that is starting.
- UPDATING = 'Updating'¶
Represents a machine resource that is updating.
- class azure.mgmt.devopsinfrastructure.models.SecretsManagementSettings(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelThe secret management settings of the machines in the pool.
- Variables:
- class azure.mgmt.devopsinfrastructure.models.Stateful(*args: Any, **kwargs: Any)[source]¶
Bases:
AgentProfileStateful profile meaning that the machines will be returned to the pool after running a job.
- Variables:
resource_predictions (ResourcePredictions) – Defines pool buffer/stand-by agents.
resource_predictions_profile (ResourcePredictionsProfile) – Defines how the pool buffer/stand-by agents is provided.
kind (str) – Stateful profile meaning that the machines will be returned to the pool after running a job. Required. Default value is “Stateful”.
max_agent_lifetime (str) – How long should stateful machines be kept around. The maximum is one week.
grace_period_time_span (str) – How long should the machine be kept around after it ran a workload when there are no stand-by agents. The maximum is one week.
- grace_period_time_span: str | None¶
How long should the machine be kept around after it ran a workload when there are no stand-by agents. The maximum is one week.
- class azure.mgmt.devopsinfrastructure.models.StatelessAgentProfile(*args: Any, **kwargs: Any)[source]¶
Bases:
AgentProfileStateless profile meaning that the machines will be cleaned up after running a job.
- Variables:
resource_predictions (ResourcePredictions) – Defines pool buffer/stand-by agents.
resource_predictions_profile (ResourcePredictionsProfile) – Defines how the pool buffer/stand-by agents is provided.
kind (str) – Stateless profile meaning that the machines will be cleaned up after running a job. Required. Default value is “Stateless”.
- class azure.mgmt.devopsinfrastructure.models.StorageAccountType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
StorageAccountType enums.
- PREMIUM_LRS = 'Premium_LRS'¶
The data disk should use premium locally redundant storage.
- PREMIUM_ZRS = 'Premium_ZRS'¶
The data disk should use premium SSD zonal redundant storage.
- STANDARD_LRS = 'Standard_LRS'¶
The data disk should use standard locally redundant storage.
- STANDARD_SSDLRS = 'StandardSSD_LRS'¶
The data disk should use standard SSD locally redundant storage.
- STANDARD_SSDZRS = 'StandardSSD_ZRS'¶
The data disk should use standard SSD zonal redundant storage.
- class azure.mgmt.devopsinfrastructure.models.StorageProfile(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelThe storage profile of the VMSS.
- Variables:
os_disk_storage_account_type (str or OsDiskStorageAccountType) – The Azure SKU name of the machines in the pool. Known values are: “Standard”, “Premium”, and “StandardSSD”.
data_disks (list[DataDisk]) – A list of empty data disks to attach.
- data_disks: List[_models.DataDisk] | None¶
A list of empty data disks to attach.
- class azure.mgmt.devopsinfrastructure.models.SystemData(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelMetadata pertaining to creation and last modification of the resource.
- Variables:
created_by (str) – The identity that created the resource.
created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
created_at (datetime) – The timestamp of resource creation (UTC).
last_modified_by (str) – The identity that last modified the resource.
last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
last_modified_at (datetime) – The timestamp of resource last modification (UTC).
- class azure.mgmt.devopsinfrastructure.models.TrackedResource(*args: Any, **kwargs: Any)[source]¶
Bases:
ResourceThe resource model definition for an Azure Resource Manager tracked top level resource which has ‘tags’ and a ‘location’.
Readonly variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
location (str) – The geo-location where the resource lives. Required.
- class azure.mgmt.devopsinfrastructure.models.UserAssignedIdentity(*args: Any, **kwargs: Any)[source]¶
Bases:
ModelUser assigned identity properties.
Readonly variables are only populated by the server, and will be ignored when sending a request.
- Variables:
- class azure.mgmt.devopsinfrastructure.models.VmssFabricProfile(*args: Any, **kwargs: Any)[source]¶
Bases:
FabricProfileThe agents will run on Virtual Machine Scale Sets.
- Variables:
kind (str) – Virtual Machine Scale Sets. Required. Default value is “Vmss”.
sku (DevOpsAzureSku) – The Azure SKU of the machines in the pool. Required.
images (list[PoolImage]) – The VM images of the machines in the pool. Required.
os_profile (OsProfile) – The OS profile of the machines in the pool.
storage_profile (StorageProfile) – The storage profile of the machines in the pool.
network_profile (NetworkProfile) – The network profile of the machines in the pool.
- images: List[_models.PoolImage]¶
The VM images of the machines in the pool. Required.
- network_profile: _models.NetworkProfile | None¶
The network profile of the machines in the pool.
- os_profile: _models.OsProfile | None¶
The OS profile of the machines in the pool.
- sku: _models.DevOpsAzureSku¶
The Azure SKU of the machines in the pool. Required.
- storage_profile: _models.StorageProfile | None¶
The storage profile of the machines in the pool.