From 87db7f57b9b627ec0711f45faf260a9119f7fde2 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 5 Aug 2019 23:57:36 +0000 Subject: [PATCH] Generated from df3fa85139fca07f04373031470bed637e7b8126 Update Batch Swagger documentation --- .../batch/2019-08-01.10.0/batch/models.go | 20 +++++++++++-------- .../batch/mgmt/2019-08-01/batch/models.go | 20 +++++++++++-------- 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/services/batch/2019-08-01.10.0/batch/models.go b/services/batch/2019-08-01.10.0/batch/models.go index 1934a9c3d4b6..d257731256c6 100644 --- a/services/batch/2019-08-01.10.0/batch/models.go +++ b/services/batch/2019-08-01.10.0/batch/models.go @@ -1207,12 +1207,14 @@ type AzureBlobFileSystemConfiguration struct { // AzureFileShareConfiguration ... type AzureFileShareConfiguration struct { - AccountName *string `json:"accountName,omitempty"` + AccountName *string `json:"accountName,omitempty"` + // AzureFileURL - This is of the form 'https://{account}.file.core.windows.net/'. AzureFileURL *string `json:"azureFileUrl,omitempty"` AccountKey *string `json:"accountKey,omitempty"` // RelativeMountPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable. RelativeMountPath *string `json:"relativeMountPath,omitempty"` - MountOptions *string `json:"mountOptions,omitempty"` + // MountOptions - These are 'net use' options in Windows and 'mount' options in Linux. + MountOptions *string `json:"mountOptions,omitempty"` } // Certificate a Certificate that can be installed on Compute Nodes and can be used to authenticate @@ -1407,8 +1409,9 @@ type CIFSMountConfiguration struct { Source *string `json:"source,omitempty"` // RelativeMountPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable. RelativeMountPath *string `json:"relativeMountPath,omitempty"` - MountOptions *string `json:"mountOptions,omitempty"` - Password *string `json:"password,omitempty"` + // MountOptions - These are 'net use' options in Windows and 'mount' options in Linux. + MountOptions *string `json:"mountOptions,omitempty"` + Password *string `json:"password,omitempty"` } // CloudJob ... @@ -3116,7 +3119,7 @@ type MetadataItem struct { Value *string `json:"value,omitempty"` } -// MountConfiguration each property is mutually exclusive. +// MountConfiguration ... type MountConfiguration struct { // AzureBlobFileSystemConfiguration - This property is mutually exclusive with all other properties. AzureBlobFileSystemConfiguration *AzureBlobFileSystemConfiguration `json:"azureBlobFileSystemConfiguration,omitempty"` @@ -3124,7 +3127,7 @@ type MountConfiguration struct { NfsMountConfiguration *NFSMountConfiguration `json:"nfsMountConfiguration,omitempty"` // CifsMountConfiguration - This property is mutually exclusive with all other properties. CifsMountConfiguration *CIFSMountConfiguration `json:"cifsMountConfiguration,omitempty"` - // AzureFileShareConfiguration - This is CIFS based for linux and net use for for windows, and this property is mutually exclusive with all other properties. + // AzureFileShareConfiguration - This property is mutually exclusive with all other properties. AzureFileShareConfiguration *AzureFileShareConfiguration `json:"azureFileShareConfiguration,omitempty"` } @@ -3155,7 +3158,7 @@ type NetworkConfiguration struct { DynamicVNetAssignmentScope DynamicVNetAssignmentScope `json:"dynamicVNetAssignmentScope,omitempty"` // EndpointConfiguration - Pool endpoint configuration is only supported on Pools with the virtualMachineConfiguration property. EndpointConfiguration *PoolEndpointConfiguration `json:"endpointConfiguration,omitempty"` - // PublicIPs - The number of IPs specified here limits the maximum size of the Pool - 50 dedicated nodes or 20 low-priority nodes can be allocated for each public IP. For example, a pool needing 150 dedicated VMs would need at least 3 public IPs specified. This is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}. + // PublicIPs - The number of IPs specified here limits the maximum size of the Pool - 50 dedicated nodes or 20 low-priority nodes can be allocated for each public IP. For example, a pool needing 150 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}. PublicIPs *[]string `json:"publicIPs,omitempty"` } @@ -3176,7 +3179,8 @@ type NFSMountConfiguration struct { Source *string `json:"source,omitempty"` // RelativeMountPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable. RelativeMountPath *string `json:"relativeMountPath,omitempty"` - MountOptions *string `json:"mountOptions,omitempty"` + // MountOptions - These are 'net use' options in Windows and 'mount' options in Linux. + MountOptions *string `json:"mountOptions,omitempty"` } // NodeAgentInformation the Batch Compute Node agent is a program that runs on each Compute Node in the diff --git a/services/batch/mgmt/2019-08-01/batch/models.go b/services/batch/mgmt/2019-08-01/batch/models.go index f0336b058c85..45ff56b28ffc 100644 --- a/services/batch/mgmt/2019-08-01/batch/models.go +++ b/services/batch/mgmt/2019-08-01/batch/models.go @@ -1146,12 +1146,14 @@ type AzureBlobFileSystemConfiguration struct { // AzureFileShareConfiguration ... type AzureFileShareConfiguration struct { - AccountName *string `json:"accountName,omitempty"` + AccountName *string `json:"accountName,omitempty"` + // AzureFileURL - This is of the form 'https://{account}.file.core.windows.net/'. AzureFileURL *string `json:"azureFileUrl,omitempty"` AccountKey *string `json:"accountKey,omitempty"` // RelativeMountPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable. RelativeMountPath *string `json:"relativeMountPath,omitempty"` - MountOptions *string `json:"mountOptions,omitempty"` + // MountOptions - These are 'net use' options in Windows and 'mount' options in Linux. + MountOptions *string `json:"mountOptions,omitempty"` } // Certificate contains information about a certificate. @@ -1454,8 +1456,9 @@ type CIFSMountConfiguration struct { Source *string `json:"source,omitempty"` // RelativeMountPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable. RelativeMountPath *string `json:"relativeMountPath,omitempty"` - MountOptions *string `json:"mountOptions,omitempty"` - Password *string `json:"password,omitempty"` + // MountOptions - These are 'net use' options in Windows and 'mount' options in Linux. + MountOptions *string `json:"mountOptions,omitempty"` + Password *string `json:"password,omitempty"` } // CloudError an error response from the Batch service. @@ -2203,7 +2206,7 @@ type MetadataItem struct { Value *string `json:"value,omitempty"` } -// MountConfiguration each property is mutually exclusive. +// MountConfiguration ... type MountConfiguration struct { // AzureBlobFileSystemConfiguration - This property is mutually exclusive with all other properties. AzureBlobFileSystemConfiguration *AzureBlobFileSystemConfiguration `json:"azureBlobFileSystemConfiguration,omitempty"` @@ -2211,7 +2214,7 @@ type MountConfiguration struct { NfsMountConfiguration *NFSMountConfiguration `json:"nfsMountConfiguration,omitempty"` // CifsMountConfiguration - This property is mutually exclusive with all other properties. CifsMountConfiguration *CIFSMountConfiguration `json:"cifsMountConfiguration,omitempty"` - // AzureFileShareConfiguration - This is CIFS based for linux and net use for for windows, and this property is mutually exclusive with all other properties. + // AzureFileShareConfiguration - This property is mutually exclusive with all other properties. AzureFileShareConfiguration *AzureFileShareConfiguration `json:"azureFileShareConfiguration,omitempty"` } @@ -2221,7 +2224,7 @@ type NetworkConfiguration struct { SubnetID *string `json:"subnetId,omitempty"` // EndpointConfiguration - Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property. EndpointConfiguration *PoolEndpointConfiguration `json:"endpointConfiguration,omitempty"` - // PublicIPs - The number of IPs specified here limits the maximum size of the Pool - 50 dedicated nodes or 20 low-priority nodes can be allocated for each public IP. For example, a pool needing 150 dedicated VMs would need at least 3 public IPs specified. This is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}. + // PublicIPs - The number of IPs specified here limits the maximum size of the Pool - 50 dedicated nodes or 20 low-priority nodes can be allocated for each public IP. For example, a pool needing 150 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}. PublicIPs *[]string `json:"publicIPs,omitempty"` } @@ -2242,7 +2245,8 @@ type NFSMountConfiguration struct { Source *string `json:"source,omitempty"` // RelativeMountPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable. RelativeMountPath *string `json:"relativeMountPath,omitempty"` - MountOptions *string `json:"mountOptions,omitempty"` + // MountOptions - These are 'net use' options in Windows and 'mount' options in Linux. + MountOptions *string `json:"mountOptions,omitempty"` } // Operation ...