partition
stringclasses
3 values
func_name
stringlengths
1
134
docstring
stringlengths
1
46.9k
path
stringlengths
4
223
original_string
stringlengths
75
104k
code
stringlengths
75
104k
docstring_tokens
listlengths
1
1.97k
repo
stringlengths
7
55
language
stringclasses
1 value
url
stringlengths
87
315
code_tokens
listlengths
19
28.4k
sha
stringlengths
40
40
test
_ServiceBusManagementXmlSerializer.xml_to_namespace
Converts xml response to service bus namespace The xml format for namespace: <entry> <id>uuid:00000000-0000-0000-0000-000000000000;id=0000000</id> <title type="text">myunittests</title> <updated>2012-08-22T16:48:10Z</updated> <content type="application/xml"> <NamespaceDescription xmlns="http://sche...
azure-servicemanagement-legacy/azure/servicemanagement/_serialization.py
def xml_to_namespace(xmlstr): '''Converts xml response to service bus namespace The xml format for namespace: <entry> <id>uuid:00000000-0000-0000-0000-000000000000;id=0000000</id> <title type="text">myunittests</title> <updated>2012-08-22T16:48:10Z</updated> <content type="application/xml"> <Namesp...
def xml_to_namespace(xmlstr): '''Converts xml response to service bus namespace The xml format for namespace: <entry> <id>uuid:00000000-0000-0000-0000-000000000000;id=0000000</id> <title type="text">myunittests</title> <updated>2012-08-22T16:48:10Z</updated> <content type="application/xml"> <Namesp...
[ "Converts", "xml", "response", "to", "service", "bus", "namespace" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/_serialization.py#L1439-L1493
[ "def", "xml_to_namespace", "(", "xmlstr", ")", ":", "xmldoc", "=", "minidom", ".", "parseString", "(", "xmlstr", ")", "namespace", "=", "ServiceBusNamespace", "(", ")", "mappings", "=", "(", "(", "'Name'", ",", "'name'", ",", "None", ")", ",", "(", "'Reg...
d7306fde32f60a293a7567678692bdad31e4b667
test
_ServiceBusManagementXmlSerializer.xml_to_region
Converts xml response to service bus region The xml format for region: <entry> <id>uuid:157c311f-081f-4b4a-a0ba-a8f990ffd2a3;id=1756759</id> <title type="text"></title> <updated>2013-04-10T18:25:29Z</updated> <content type="application/xml"> <RegionCodeDescription xmlns="http://schemas.microsoft.co...
azure-servicemanagement-legacy/azure/servicemanagement/_serialization.py
def xml_to_region(xmlstr): '''Converts xml response to service bus region The xml format for region: <entry> <id>uuid:157c311f-081f-4b4a-a0ba-a8f990ffd2a3;id=1756759</id> <title type="text"></title> <updated>2013-04-10T18:25:29Z</updated> <content type="application/xml"> <RegionCodeDescription ...
def xml_to_region(xmlstr): '''Converts xml response to service bus region The xml format for region: <entry> <id>uuid:157c311f-081f-4b4a-a0ba-a8f990ffd2a3;id=1756759</id> <title type="text"></title> <updated>2013-04-10T18:25:29Z</updated> <content type="application/xml"> <RegionCodeDescription ...
[ "Converts", "xml", "response", "to", "service", "bus", "region" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/_serialization.py#L1496-L1526
[ "def", "xml_to_region", "(", "xmlstr", ")", ":", "xmldoc", "=", "minidom", ".", "parseString", "(", "xmlstr", ")", "region", "=", "ServiceBusRegion", "(", ")", "for", "desc", "in", "_MinidomXmlToObject", ".", "get_children_from_path", "(", "xmldoc", ",", "'ent...
d7306fde32f60a293a7567678692bdad31e4b667
test
_ServiceBusManagementXmlSerializer.xml_to_namespace_availability
Converts xml response to service bus namespace availability The xml format: <?xml version="1.0" encoding="utf-8"?> <entry xmlns="http://www.w3.org/2005/Atom"> <id>uuid:9fc7c652-1856-47ab-8d74-cd31502ea8e6;id=3683292</id> <title type="text"></title> <updated>2013-04-16T03:03:37Z</updated> <conte...
azure-servicemanagement-legacy/azure/servicemanagement/_serialization.py
def xml_to_namespace_availability(xmlstr): '''Converts xml response to service bus namespace availability The xml format: <?xml version="1.0" encoding="utf-8"?> <entry xmlns="http://www.w3.org/2005/Atom"> <id>uuid:9fc7c652-1856-47ab-8d74-cd31502ea8e6;id=3683292</id> <title type="text"></title> ...
def xml_to_namespace_availability(xmlstr): '''Converts xml response to service bus namespace availability The xml format: <?xml version="1.0" encoding="utf-8"?> <entry xmlns="http://www.w3.org/2005/Atom"> <id>uuid:9fc7c652-1856-47ab-8d74-cd31502ea8e6;id=3683292</id> <title type="text"></title> ...
[ "Converts", "xml", "response", "to", "service", "bus", "namespace", "availability" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/_serialization.py#L1529-L1556
[ "def", "xml_to_namespace_availability", "(", "xmlstr", ")", ":", "xmldoc", "=", "minidom", ".", "parseString", "(", "xmlstr", ")", "availability", "=", "AvailabilityResponse", "(", ")", "for", "desc", "in", "_MinidomXmlToObject", ".", "get_children_from_path", "(", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
_ServiceBusManagementXmlSerializer.odata_converter
Convert odata type http://www.odata.org/documentation/odata-version-2-0/overview#AbstractTypeSystem To be completed
azure-servicemanagement-legacy/azure/servicemanagement/_serialization.py
def odata_converter(data, str_type): ''' Convert odata type http://www.odata.org/documentation/odata-version-2-0/overview#AbstractTypeSystem To be completed ''' if not str_type: return _str(data) if str_type in ["Edm.Single", "Edm.Double"]: return ...
def odata_converter(data, str_type): ''' Convert odata type http://www.odata.org/documentation/odata-version-2-0/overview#AbstractTypeSystem To be completed ''' if not str_type: return _str(data) if str_type in ["Edm.Single", "Edm.Double"]: return ...
[ "Convert", "odata", "type", "http", ":", "//", "www", ".", "odata", ".", "org", "/", "documentation", "/", "odata", "-", "version", "-", "2", "-", "0", "/", "overview#AbstractTypeSystem", "To", "be", "completed" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/_serialization.py#L1559-L1571
[ "def", "odata_converter", "(", "data", ",", "str_type", ")", ":", "if", "not", "str_type", ":", "return", "_str", "(", "data", ")", "if", "str_type", "in", "[", "\"Edm.Single\"", ",", "\"Edm.Double\"", "]", ":", "return", "float", "(", "data", ")", "elif...
d7306fde32f60a293a7567678692bdad31e4b667
test
_ServiceBusManagementXmlSerializer.xml_to_metrics
Converts xml response to service bus metrics objects The xml format for MetricProperties <entry> <id>https://sbgm.windows.net/Metrics(\'listeners.active\')</id> <title/> <updated>2014-10-09T11:56:50Z</updated> <author> <name/> </author> <content type="application/xml"> <...
azure-servicemanagement-legacy/azure/servicemanagement/_serialization.py
def xml_to_metrics(xmlstr, object_type): '''Converts xml response to service bus metrics objects The xml format for MetricProperties <entry> <id>https://sbgm.windows.net/Metrics(\'listeners.active\')</id> <title/> <updated>2014-10-09T11:56:50Z</updated> <author> <name/> </au...
def xml_to_metrics(xmlstr, object_type): '''Converts xml response to service bus metrics objects The xml format for MetricProperties <entry> <id>https://sbgm.windows.net/Metrics(\'listeners.active\')</id> <title/> <updated>2014-10-09T11:56:50Z</updated> <author> <name/> </au...
[ "Converts", "xml", "response", "to", "service", "bus", "metrics", "objects" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/_serialization.py#L1574-L1642
[ "def", "xml_to_metrics", "(", "xmlstr", ",", "object_type", ")", ":", "xmldoc", "=", "minidom", ".", "parseString", "(", "xmlstr", ")", "return_obj", "=", "object_type", "(", ")", "members", "=", "dict", "(", "vars", "(", "return_obj", ")", ")", "# Only on...
d7306fde32f60a293a7567678692bdad31e4b667
test
_SchedulerManagementXmlSerializer.create_cloud_service_to_xml
<CloudService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/windowsazure"> <Label>MyApp3</Label> <Description>My Cloud Service for app3</Description> <GeoRegion>South Central US</GeoRegion> </CloudService>
azure-servicemanagement-legacy/azure/servicemanagement/_serialization.py
def create_cloud_service_to_xml(label, description, geo_region): ''' <CloudService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/windowsazure"> <Label>MyApp3</Label> <Description>My Cloud Service for app3</Description> <GeoRegion>So...
def create_cloud_service_to_xml(label, description, geo_region): ''' <CloudService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/windowsazure"> <Label>MyApp3</Label> <Description>My Cloud Service for app3</Description> <GeoRegion>So...
[ "<CloudService", "xmlns", ":", "i", "=", "http", ":", "//", "www", ".", "w3", ".", "org", "/", "2001", "/", "XMLSchema", "-", "instance", "xmlns", "=", "http", ":", "//", "schemas", ".", "microsoft", ".", "com", "/", "windowsazure", ">", "<Label", ">...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/_serialization.py#L1648-L1662
[ "def", "create_cloud_service_to_xml", "(", "label", ",", "description", ",", "geo_region", ")", ":", "body", "=", "'<CloudService xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">'", "body", "+=", "''", ".", "join", "(", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
_SchedulerManagementXmlSerializer.create_job_collection_to_xml
<Resource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/windowsazure"> <IntrinsicSettings> <Plan>Standard</Plan> <Quota> <MaxJobCount>10</MaxJobCount> <MaxRecurrence> <Frequency>Second</Frequenc...
azure-servicemanagement-legacy/azure/servicemanagement/_serialization.py
def create_job_collection_to_xml(plan): ''' <Resource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/windowsazure"> <IntrinsicSettings> <Plan>Standard</Plan> <Quota> <MaxJobCount>10</MaxJobCount> <Ma...
def create_job_collection_to_xml(plan): ''' <Resource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/windowsazure"> <IntrinsicSettings> <Plan>Standard</Plan> <Quota> <MaxJobCount>10</MaxJobCount> <Ma...
[ "<Resource", "xmlns", ":", "i", "=", "http", ":", "//", "www", ".", "w3", ".", "org", "/", "2001", "/", "XMLSchema", "-", "instance", "xmlns", "=", "http", ":", "//", "schemas", ".", "microsoft", ".", "com", "/", "windowsazure", ">", "<IntrinsicSetting...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/_serialization.py#L1665-L1688
[ "def", "create_job_collection_to_xml", "(", "plan", ")", ":", "if", "plan", "not", "in", "[", "\"Free\"", ",", "\"Standard\"", "]", ":", "raise", "ValueError", "(", "\"Plan: Invalid option must be 'Standard' or 'Free'\"", ")", "body", "=", "'<Resource xmlns:i=\"http://w...
d7306fde32f60a293a7567678692bdad31e4b667
test
ManagementLockClient.management_locks
Instance depends on the API version: * 2015-01-01: :class:`ManagementLocksOperations<azure.mgmt.resource.locks.v2015_01_01.operations.ManagementLocksOperations>` * 2016-09-01: :class:`ManagementLocksOperations<azure.mgmt.resource.locks.v2016_09_01.operations.ManagementLocksOperations>`
azure-mgmt-resource/azure/mgmt/resource/locks/management_lock_client.py
def management_locks(self): """Instance depends on the API version: * 2015-01-01: :class:`ManagementLocksOperations<azure.mgmt.resource.locks.v2015_01_01.operations.ManagementLocksOperations>` * 2016-09-01: :class:`ManagementLocksOperations<azure.mgmt.resource.locks.v2016_09_01.operations...
def management_locks(self): """Instance depends on the API version: * 2015-01-01: :class:`ManagementLocksOperations<azure.mgmt.resource.locks.v2015_01_01.operations.ManagementLocksOperations>` * 2016-09-01: :class:`ManagementLocksOperations<azure.mgmt.resource.locks.v2016_09_01.operations...
[ "Instance", "depends", "on", "the", "API", "version", ":" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-resource/azure/mgmt/resource/locks/management_lock_client.py#L124-L137
[ "def", "management_locks", "(", "self", ")", ":", "api_version", "=", "self", ".", "_get_api_version", "(", "'management_locks'", ")", "if", "api_version", "==", "'2015-01-01'", ":", "from", ".", "v2015_01_01", ".", "operations", "import", "ManagementLocksOperations...
d7306fde32f60a293a7567678692bdad31e4b667
test
RunbookDraftOperations.replace_content
Replaces the runbook draft content. :param resource_group_name: Name of an Azure Resource group. :type resource_group_name: str :param automation_account_name: The name of the automation account. :type automation_account_name: str :param runbook_name: The runbook name. :...
azure-mgmt-automation/azure/mgmt/automation/operations/runbook_draft_operations.py
def replace_content( self, resource_group_name, automation_account_name, runbook_name, runbook_content, custom_headers=None, raw=False, callback=None, polling=True, **operation_config): """Replaces the runbook draft content. :param resource_group_name: Name of an Azure Resource group. ...
def replace_content( self, resource_group_name, automation_account_name, runbook_name, runbook_content, custom_headers=None, raw=False, callback=None, polling=True, **operation_config): """Replaces the runbook draft content. :param resource_group_name: Name of an Azure Resource group. ...
[ "Replaces", "the", "runbook", "draft", "content", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-automation/azure/mgmt/automation/operations/runbook_draft_operations.py#L165-L219
[ "def", "replace_content", "(", "self", ",", "resource_group_name", ",", "automation_account_name", ",", "runbook_name", ",", "runbook_content", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "callback", "=", "None", ",", "polling", "=", "True...
d7306fde32f60a293a7567678692bdad31e4b667
test
DomainsOperations.list_recommendations
Get domain name recommendations based on keywords. Get domain name recommendations based on keywords. :param keywords: Keywords to be used for generating domain recommendations. :type keywords: str :param max_domain_recommendations: Maximum number of recommendations. :...
azure-mgmt-web/azure/mgmt/web/operations/domains_operations.py
def list_recommendations( self, keywords=None, max_domain_recommendations=None, custom_headers=None, raw=False, **operation_config): """Get domain name recommendations based on keywords. Get domain name recommendations based on keywords. :param keywords: Keywords to be used for gen...
def list_recommendations( self, keywords=None, max_domain_recommendations=None, custom_headers=None, raw=False, **operation_config): """Get domain name recommendations based on keywords. Get domain name recommendations based on keywords. :param keywords: Keywords to be used for gen...
[ "Get", "domain", "name", "recommendations", "based", "on", "keywords", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-web/azure/mgmt/web/operations/domains_operations.py#L231-L304
[ "def", "list_recommendations", "(", "self", ",", "keywords", "=", "None", ",", "max_domain_recommendations", "=", "None", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "*", "*", "operation_config", ")", ":", "parameters", "=", "models", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
KnowledgebaseOperations.update
Asynchronous operation to modify a knowledgebase. :param kb_id: Knowledgebase id. :type kb_id: str :param update_kb: Post body of the request. :type update_kb: ~azure.cognitiveservices.knowledge.qnamaker.models.UpdateKbOperationDTO :param dict custom_headers: headers th...
azure-cognitiveservices-knowledge-qnamaker/azure/cognitiveservices/knowledge/qnamaker/operations/knowledgebase_operations.py
def update( self, kb_id, update_kb, custom_headers=None, raw=False, **operation_config): """Asynchronous operation to modify a knowledgebase. :param kb_id: Knowledgebase id. :type kb_id: str :param update_kb: Post body of the request. :type update_kb: ~azure...
def update( self, kb_id, update_kb, custom_headers=None, raw=False, **operation_config): """Asynchronous operation to modify a knowledgebase. :param kb_id: Knowledgebase id. :type kb_id: str :param update_kb: Post body of the request. :type update_kb: ~azure...
[ "Asynchronous", "operation", "to", "modify", "a", "knowledgebase", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-cognitiveservices-knowledge-qnamaker/azure/cognitiveservices/knowledge/qnamaker/operations/knowledgebase_operations.py#L285-L347
[ "def", "update", "(", "self", ",", "kb_id", ",", "update_kb", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "*", "*", "operation_config", ")", ":", "# Construct URL", "url", "=", "self", ".", "update", ".", "metadata", "[", "'url'", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
MetricsOperations.get
Retrieve metric data. Gets metric values for a single metric. :param app_id: ID of the application. This is Application ID from the API Access settings blade in the Azure portal. :type app_id: str :param metric_id: ID of the metric. This is either a standard AI metric...
azure-applicationinsights/azure/applicationinsights/operations/metrics_operations.py
def get( self, app_id, metric_id, timespan=None, interval=None, aggregation=None, segment=None, top=None, orderby=None, filter=None, custom_headers=None, raw=False, **operation_config): """Retrieve metric data. Gets metric values for a single metric. :param app_id: ID of the applic...
def get( self, app_id, metric_id, timespan=None, interval=None, aggregation=None, segment=None, top=None, orderby=None, filter=None, custom_headers=None, raw=False, **operation_config): """Retrieve metric data. Gets metric values for a single metric. :param app_id: ID of the applic...
[ "Retrieve", "metric", "data", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-applicationinsights/azure/applicationinsights/operations/metrics_operations.py#L36-L163
[ "def", "get", "(", "self", ",", "app_id", ",", "metric_id", ",", "timespan", "=", "None", ",", "interval", "=", "None", ",", "aggregation", "=", "None", ",", "segment", "=", "None", ",", "top", "=", "None", ",", "orderby", "=", "None", ",", "filter",...
d7306fde32f60a293a7567678692bdad31e4b667
test
MetricsOperations.get_multiple
Retrieve metric data. Gets metric values for multiple metrics. :param app_id: ID of the application. This is Application ID from the API Access settings blade in the Azure portal. :type app_id: str :param body: The batched metrics query. :type body: list[~azur...
azure-applicationinsights/azure/applicationinsights/operations/metrics_operations.py
def get_multiple( self, app_id, body, custom_headers=None, raw=False, **operation_config): """Retrieve metric data. Gets metric values for multiple metrics. :param app_id: ID of the application. This is Application ID from the API Access settings blade in the Azure portal....
def get_multiple( self, app_id, body, custom_headers=None, raw=False, **operation_config): """Retrieve metric data. Gets metric values for multiple metrics. :param app_id: ID of the application. This is Application ID from the API Access settings blade in the Azure portal....
[ "Retrieve", "metric", "data", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-applicationinsights/azure/applicationinsights/operations/metrics_operations.py#L166-L225
[ "def", "get_multiple", "(", "self", ",", "app_id", ",", "body", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "*", "*", "operation_config", ")", ":", "# Construct URL", "url", "=", "self", ".", "get_multiple", ".", "metadata", "[", "...
d7306fde32f60a293a7567678692bdad31e4b667
test
AutoLockRenew.register
Register a renewable entity for automatic lock renewal. :param renewable: A locked entity that needs to be renewed. :type renewable: ~azure.servicebus.aio.async_message.Message or ~azure.servicebus.aio.async_receive_handler.SessionReceiver :param timeout: A time in seconds that the loc...
azure-servicebus/azure/servicebus/aio/async_utils.py
def register(self, renewable, timeout=300): """Register a renewable entity for automatic lock renewal. :param renewable: A locked entity that needs to be renewed. :type renewable: ~azure.servicebus.aio.async_message.Message or ~azure.servicebus.aio.async_receive_handler.SessionReceiver...
def register(self, renewable, timeout=300): """Register a renewable entity for automatic lock renewal. :param renewable: A locked entity that needs to be renewed. :type renewable: ~azure.servicebus.aio.async_message.Message or ~azure.servicebus.aio.async_receive_handler.SessionReceiver...
[ "Register", "a", "renewable", "entity", "for", "automatic", "lock", "renewal", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/aio/async_utils.py#L86-L98
[ "def", "register", "(", "self", ",", "renewable", ",", "timeout", "=", "300", ")", ":", "starttime", "=", "renewable_start_time", "(", "renewable", ")", "renew_future", "=", "asyncio", ".", "ensure_future", "(", "self", ".", "_auto_lock_renew", "(", "renewable...
d7306fde32f60a293a7567678692bdad31e4b667
test
UsersOperations.get_member_groups
Gets a collection that contains the object IDs of the groups of which the user is a member. :param object_id: The object ID of the user for which to get group membership. :type object_id: str :param security_enabled_only: If true, only membership in security-enabled gr...
azure-graphrbac/azure/graphrbac/operations/users_operations.py
def get_member_groups( self, object_id, security_enabled_only, additional_properties=None, custom_headers=None, raw=False, **operation_config): """Gets a collection that contains the object IDs of the groups of which the user is a member. :param object_id: The object ID of the user ...
def get_member_groups( self, object_id, security_enabled_only, additional_properties=None, custom_headers=None, raw=False, **operation_config): """Gets a collection that contains the object IDs of the groups of which the user is a member. :param object_id: The object ID of the user ...
[ "Gets", "a", "collection", "that", "contains", "the", "object", "IDs", "of", "the", "groups", "of", "which", "the", "user", "is", "a", "member", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-graphrbac/azure/graphrbac/operations/users_operations.py#L338-L415
[ "def", "get_member_groups", "(", "self", ",", "object_id", ",", "security_enabled_only", ",", "additional_properties", "=", "None", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "*", "*", "operation_config", ")", ":", "parameters", "=", "m...
d7306fde32f60a293a7567678692bdad31e4b667
test
build_package_from_pr_number
Will clone the given PR branch and vuild the package with the given name.
azure-sdk-tools/packaging_tools/drop_tools.py
def build_package_from_pr_number(gh_token, sdk_id, pr_number, output_folder, *, with_comment=False): """Will clone the given PR branch and vuild the package with the given name.""" con = Github(gh_token) repo = con.get_repo(sdk_id) sdk_pr = repo.get_pull(pr_number) # "get_files" of Github only down...
def build_package_from_pr_number(gh_token, sdk_id, pr_number, output_folder, *, with_comment=False): """Will clone the given PR branch and vuild the package with the given name.""" con = Github(gh_token) repo = con.get_repo(sdk_id) sdk_pr = repo.get_pull(pr_number) # "get_files" of Github only down...
[ "Will", "clone", "the", "given", "PR", "branch", "and", "vuild", "the", "package", "with", "the", "given", "name", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-sdk-tools/packaging_tools/drop_tools.py#L47-L78
[ "def", "build_package_from_pr_number", "(", "gh_token", ",", "sdk_id", ",", "pr_number", ",", "output_folder", ",", "*", ",", "with_comment", "=", "False", ")", ":", "con", "=", "Github", "(", "gh_token", ")", "repo", "=", "con", ".", "get_repo", "(", "sdk...
d7306fde32f60a293a7567678692bdad31e4b667
test
RedisOperations.import_data
Import data into Redis cache. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param name: The name of the Redis cache. :type name: str :param files: files to import. :type files: list[str] :param format: File format. ...
azure-mgmt-redis/azure/mgmt/redis/operations/redis_operations.py
def import_data( self, resource_group_name, name, files, format=None, custom_headers=None, raw=False, polling=True, **operation_config): """Import data into Redis cache. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param name: T...
def import_data( self, resource_group_name, name, files, format=None, custom_headers=None, raw=False, polling=True, **operation_config): """Import data into Redis cache. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param name: T...
[ "Import", "data", "into", "Redis", "cache", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-redis/azure/mgmt/redis/operations/redis_operations.py#L864-L908
[ "def", "import_data", "(", "self", ",", "resource_group_name", ",", "name", ",", "files", ",", "format", "=", "None", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "polling", "=", "True", ",", "*", "*", "operation_config", ")", ":", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
KeyVaultId.create_object_id
:param collection: The resource collection type. :type collection: str :param vault: The vault URI. :type vault: str :param name: The resource name. :type name: str :param version: The resource version. :type version: str :rtype: KeyVaultId
azure-keyvault/azure/keyvault/key_vault_id.py
def create_object_id(collection, vault, name, version): """ :param collection: The resource collection type. :type collection: str :param vault: The vault URI. :type vault: str :param name: The resource name. :type name: str :param version: The resource ve...
def create_object_id(collection, vault, name, version): """ :param collection: The resource collection type. :type collection: str :param vault: The vault URI. :type vault: str :param name: The resource name. :type name: str :param version: The resource ve...
[ ":", "param", "collection", ":", "The", "resource", "collection", "type", ".", ":", "type", "collection", ":", "str", ":", "param", "vault", ":", "The", "vault", "URI", ".", ":", "type", "vault", ":", "str", ":", "param", "name", ":", "The", "resource"...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-keyvault/azure/keyvault/key_vault_id.py#L59-L76
[ "def", "create_object_id", "(", "collection", ",", "vault", ",", "name", ",", "version", ")", ":", "collection", "=", "_validate_string_argument", "(", "collection", ",", "'collection'", ")", "vault", "=", "_validate_string_argument", "(", "vault", ",", "'vault'",...
d7306fde32f60a293a7567678692bdad31e4b667
test
KeyVaultId.parse_object_id
:param collection: The resource collection type. :type collection: str :param id: The resource uri. :type id: str :rtype: KeyVaultId
azure-keyvault/azure/keyvault/key_vault_id.py
def parse_object_id(collection, id): """ :param collection: The resource collection type. :type collection: str :param id: The resource uri. :type id: str :rtype: KeyVaultId """ collection = _validate_string_argument(collection, 'collection') retur...
def parse_object_id(collection, id): """ :param collection: The resource collection type. :type collection: str :param id: The resource uri. :type id: str :rtype: KeyVaultId """ collection = _validate_string_argument(collection, 'collection') retur...
[ ":", "param", "collection", ":", "The", "resource", "collection", "type", ".", ":", "type", "collection", ":", "str", ":", "param", "id", ":", "The", "resource", "uri", ".", ":", "type", "id", ":", "str", ":", "rtype", ":", "KeyVaultId" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-keyvault/azure/keyvault/key_vault_id.py#L79-L88
[ "def", "parse_object_id", "(", "collection", ",", "id", ")", ":", "collection", "=", "_validate_string_argument", "(", "collection", ",", "'collection'", ")", "return", "KeyVaultIdentifier", "(", "uri", "=", "id", ",", "collection", "=", "collection", ")" ]
d7306fde32f60a293a7567678692bdad31e4b667
test
KeyVaultId.create_key_id
:param vault: The vault uri. :type vault: str :param name: The key name. :type name: str :param version: The key version. :type version: str :rtype: KeyVaultId
azure-keyvault/azure/keyvault/key_vault_id.py
def create_key_id(vault, name, version=None): """ :param vault: The vault uri. :type vault: str :param name: The key name. :type name: str :param version: The key version. :type version: str :rtype: KeyVaultId """ return KeyId(vault=vault, ...
def create_key_id(vault, name, version=None): """ :param vault: The vault uri. :type vault: str :param name: The key name. :type name: str :param version: The key version. :type version: str :rtype: KeyVaultId """ return KeyId(vault=vault, ...
[ ":", "param", "vault", ":", "The", "vault", "uri", ".", ":", "type", "vault", ":", "str", ":", "param", "name", ":", "The", "key", "name", ".", ":", "type", "name", ":", "str", ":", "param", "version", ":", "The", "key", "version", ".", ":", "typ...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-keyvault/azure/keyvault/key_vault_id.py#L91-L101
[ "def", "create_key_id", "(", "vault", ",", "name", ",", "version", "=", "None", ")", ":", "return", "KeyId", "(", "vault", "=", "vault", ",", "name", "=", "name", ",", "version", "=", "version", ")" ]
d7306fde32f60a293a7567678692bdad31e4b667
test
KeyVaultId.create_secret_id
:param vault: The vault uri. :type vault: str :param name: The secret name. :type name: str :param version: The secret version. :type version: str :rtype: KeyVaultId
azure-keyvault/azure/keyvault/key_vault_id.py
def create_secret_id(vault, name, version=None): """ :param vault: The vault uri. :type vault: str :param name: The secret name. :type name: str :param version: The secret version. :type version: str :rtype: KeyVaultId """ return SecretId(v...
def create_secret_id(vault, name, version=None): """ :param vault: The vault uri. :type vault: str :param name: The secret name. :type name: str :param version: The secret version. :type version: str :rtype: KeyVaultId """ return SecretId(v...
[ ":", "param", "vault", ":", "The", "vault", "uri", ".", ":", "type", "vault", ":", "str", ":", "param", "name", ":", "The", "secret", "name", ".", ":", "type", "name", ":", "str", ":", "param", "version", ":", "The", "secret", "version", ".", ":", ...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-keyvault/azure/keyvault/key_vault_id.py#L113-L123
[ "def", "create_secret_id", "(", "vault", ",", "name", ",", "version", "=", "None", ")", ":", "return", "SecretId", "(", "vault", "=", "vault", ",", "name", "=", "name", ",", "version", "=", "version", ")" ]
d7306fde32f60a293a7567678692bdad31e4b667
test
KeyVaultId.create_certificate_id
:param vault: The vault uri. :type vault: str :param name: The certificate name. :type name: str :param version: The certificate version. :type version: str :rtype: KeyVaultId
azure-keyvault/azure/keyvault/key_vault_id.py
def create_certificate_id(vault, name, version=None): """ :param vault: The vault uri. :type vault: str :param name: The certificate name. :type name: str :param version: The certificate version. :type version: str :rtype: KeyVaultId """ re...
def create_certificate_id(vault, name, version=None): """ :param vault: The vault uri. :type vault: str :param name: The certificate name. :type name: str :param version: The certificate version. :type version: str :rtype: KeyVaultId """ re...
[ ":", "param", "vault", ":", "The", "vault", "uri", ".", ":", "type", "vault", ":", "str", ":", "param", "name", ":", "The", "certificate", "name", ".", ":", "type", "name", ":", "str", ":", "param", "version", ":", "The", "certificate", "version", "....
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-keyvault/azure/keyvault/key_vault_id.py#L135-L145
[ "def", "create_certificate_id", "(", "vault", ",", "name", ",", "version", "=", "None", ")", ":", "return", "CertificateId", "(", "vault", "=", "vault", ",", "name", "=", "name", ",", "version", "=", "version", ")" ]
d7306fde32f60a293a7567678692bdad31e4b667
test
KeyVaultIdentifier._format
Formats the KeyVaultIdentifier into a identifier uri based of the specified format string :param fmt: The format string for the identifier uri :return: The formatted key vault object identifier uri
azure-keyvault/azure/keyvault/key_vault_id.py
def _format(self, fmt=None): """ Formats the KeyVaultIdentifier into a identifier uri based of the specified format string :param fmt: The format string for the identifier uri :return: The formatted key vault object identifier uri """ # if no fmt was specified use the _...
def _format(self, fmt=None): """ Formats the KeyVaultIdentifier into a identifier uri based of the specified format string :param fmt: The format string for the identifier uri :return: The formatted key vault object identifier uri """ # if no fmt was specified use the _...
[ "Formats", "the", "KeyVaultIdentifier", "into", "a", "identifier", "uri", "based", "of", "the", "specified", "format", "string", ":", "param", "fmt", ":", "The", "format", "string", "for", "the", "identifier", "uri", ":", "return", ":", "The", "formatted", "...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-keyvault/azure/keyvault/key_vault_id.py#L234-L268
[ "def", "_format", "(", "self", ",", "fmt", "=", "None", ")", ":", "# if no fmt was specified use the _id_format from the current object", "fmt", "=", "fmt", "or", "self", ".", "_id_format", "segments", "=", "[", "]", "# split the formatting string into segments", "for",...
d7306fde32f60a293a7567678692bdad31e4b667
test
KeyVaultIdentifier._parse
Parses the specified uri, using _id_format as a format string, and sets the parsed format arguments as attributes on the current id object. :param uri: The key vault identifier uri to be parsed :param validation_args: format arguments to be validated :return: None
azure-keyvault/azure/keyvault/key_vault_id.py
def _parse(self, uri, validation_args): """ Parses the specified uri, using _id_format as a format string, and sets the parsed format arguments as attributes on the current id object. :param uri: The key vault identifier uri to be parsed :param validation_args: format arguments...
def _parse(self, uri, validation_args): """ Parses the specified uri, using _id_format as a format string, and sets the parsed format arguments as attributes on the current id object. :param uri: The key vault identifier uri to be parsed :param validation_args: format arguments...
[ "Parses", "the", "specified", "uri", "using", "_id_format", "as", "a", "format", "string", "and", "sets", "the", "parsed", "format", "arguments", "as", "attributes", "on", "the", "current", "id", "object", ".", ":", "param", "uri", ":", "The", "key", "vaul...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-keyvault/azure/keyvault/key_vault_id.py#L270-L317
[ "def", "_parse", "(", "self", ",", "uri", ",", "validation_args", ")", ":", "def", "format_error", "(", ")", ":", "return", "ValueError", "(", "'invalid id: The specified uri \"{}\", does to match the specified format \"{}\"'", ".", "format", "(", "uri", ",", "self", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
RunbookOperations.publish
Publish runbook draft. :param resource_group_name: Name of an Azure Resource group. :type resource_group_name: str :param automation_account_name: The name of the automation account. :type automation_account_name: str :param runbook_name: The parameters supplied to the publish r...
azure-mgmt-automation/azure/mgmt/automation/operations/runbook_operations.py
def publish( self, resource_group_name, automation_account_name, runbook_name, custom_headers=None, raw=False, polling=True, **operation_config): """Publish runbook draft. :param resource_group_name: Name of an Azure Resource group. :type resource_group_name: str :param auto...
def publish( self, resource_group_name, automation_account_name, runbook_name, custom_headers=None, raw=False, polling=True, **operation_config): """Publish runbook draft. :param resource_group_name: Name of an Azure Resource group. :type resource_group_name: str :param auto...
[ "Publish", "runbook", "draft", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-automation/azure/mgmt/automation/operations/runbook_operations.py#L83-L129
[ "def", "publish", "(", "self", ",", "resource_group_name", ",", "automation_account_name", ",", "runbook_name", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "polling", "=", "True", ",", "*", "*", "operation_config", ")", ":", "raw_result"...
d7306fde32f60a293a7567678692bdad31e4b667
test
Message.renew_lock
Renew the message lock. This will maintain the lock on the message to ensure it is not returned to the queue to be reprocessed. In order to complete (or otherwise settle) the message, the lock must be maintained. Messages received via ReceiveAndDelete mode are not locked, and therefore ...
azure-servicebus/azure/servicebus/aio/async_message.py
async def renew_lock(self): """Renew the message lock. This will maintain the lock on the message to ensure it is not returned to the queue to be reprocessed. In order to complete (or otherwise settle) the message, the lock must be maintained. Messages received via ReceiveAndDelete mode...
async def renew_lock(self): """Renew the message lock. This will maintain the lock on the message to ensure it is not returned to the queue to be reprocessed. In order to complete (or otherwise settle) the message, the lock must be maintained. Messages received via ReceiveAndDelete mode...
[ "Renew", "the", "message", "lock", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/aio/async_message.py#L44-L63
[ "async", "def", "renew_lock", "(", "self", ")", ":", "if", "hasattr", "(", "self", ".", "_receiver", ",", "'locked_until'", ")", ":", "raise", "TypeError", "(", "\"Session messages cannot be renewed. Please renew the Session lock instead.\"", ")", "self", ".", "_is_li...
d7306fde32f60a293a7567678692bdad31e4b667
test
Message.dead_letter
Move the message to the Dead Letter queue. The Dead Letter queue is a sub-queue that can be used to store messages that failed to process correctly, or otherwise require further inspection or processing. The queue can also be configured to send expired messages to the Dead Letter queue. ...
azure-servicebus/azure/servicebus/aio/async_message.py
async def dead_letter(self, description=None): """Move the message to the Dead Letter queue. The Dead Letter queue is a sub-queue that can be used to store messages that failed to process correctly, or otherwise require further inspection or processing. The queue can also be configured ...
async def dead_letter(self, description=None): """Move the message to the Dead Letter queue. The Dead Letter queue is a sub-queue that can be used to store messages that failed to process correctly, or otherwise require further inspection or processing. The queue can also be configured ...
[ "Move", "the", "message", "to", "the", "Dead", "Letter", "queue", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/aio/async_message.py#L79-L100
[ "async", "def", "dead_letter", "(", "self", ",", "description", "=", "None", ")", ":", "self", ".", "_is_live", "(", "'reject'", ")", "try", ":", "reject", "=", "functools", ".", "partial", "(", "self", ".", "message", ".", "reject", ",", "condition", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
Message.abandon
Abandon the message. This message will be returned to the queue to be reprocessed. :raises: ~azure.servicebus.common.errors.MessageAlreadySettled if the message has been settled. :raises: ~azure.servicebus.common.errors.MessageLockExpired if message lock has already expired. :raises: ~...
azure-servicebus/azure/servicebus/aio/async_message.py
async def abandon(self): """Abandon the message. This message will be returned to the queue to be reprocessed. :raises: ~azure.servicebus.common.errors.MessageAlreadySettled if the message has been settled. :raises: ~azure.servicebus.common.errors.MessageLockExpired if message lock has...
async def abandon(self): """Abandon the message. This message will be returned to the queue to be reprocessed. :raises: ~azure.servicebus.common.errors.MessageAlreadySettled if the message has been settled. :raises: ~azure.servicebus.common.errors.MessageLockExpired if message lock has...
[ "Abandon", "the", "message", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/aio/async_message.py#L102-L117
[ "async", "def", "abandon", "(", "self", ")", ":", "self", ".", "_is_live", "(", "'abandon'", ")", "try", ":", "modify", "=", "functools", ".", "partial", "(", "self", ".", "message", ".", "modify", ",", "True", ",", "False", ")", "await", "self", "."...
d7306fde32f60a293a7567678692bdad31e4b667
test
DeferredMessage.complete
Complete the message. This removes the message from the queue. :raises: ~azure.servicebus.common.errors.MessageAlreadySettled if the message has been settled. :raises: ~azure.servicebus.common.errors.MessageLockExpired if message lock has already expired. :raises: ~azure.servicebus.com...
azure-servicebus/azure/servicebus/aio/async_message.py
async def complete(self): """Complete the message. This removes the message from the queue. :raises: ~azure.servicebus.common.errors.MessageAlreadySettled if the message has been settled. :raises: ~azure.servicebus.common.errors.MessageLockExpired if message lock has already expired. ...
async def complete(self): """Complete the message. This removes the message from the queue. :raises: ~azure.servicebus.common.errors.MessageAlreadySettled if the message has been settled. :raises: ~azure.servicebus.common.errors.MessageLockExpired if message lock has already expired. ...
[ "Complete", "the", "message", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/aio/async_message.py#L167-L179
[ "async", "def", "complete", "(", "self", ")", ":", "self", ".", "_is_live", "(", "'complete'", ")", "await", "self", ".", "_receiver", ".", "_settle_deferred", "(", "'completed'", ",", "[", "self", ".", "lock_token", "]", ")", "# pylint: disable=protected-acce...
d7306fde32f60a293a7567678692bdad31e4b667
test
parse_input
From a syntax like package_name#submodule, build a package name and complete module name.
scripts/multiapi_init_gen.py
def parse_input(input_parameter): """From a syntax like package_name#submodule, build a package name and complete module name. """ split_package_name = input_parameter.split('#') package_name = split_package_name[0] module_name = package_name.replace("-", ".") if len(split_package_name) >= 2...
def parse_input(input_parameter): """From a syntax like package_name#submodule, build a package name and complete module name. """ split_package_name = input_parameter.split('#') package_name = split_package_name[0] module_name = package_name.replace("-", ".") if len(split_package_name) >= 2...
[ "From", "a", "syntax", "like", "package_name#submodule", "build", "a", "package", "name", "and", "complete", "module", "name", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/scripts/multiapi_init_gen.py#L35-L44
[ "def", "parse_input", "(", "input_parameter", ")", ":", "split_package_name", "=", "input_parameter", ".", "split", "(", "'#'", ")", "package_name", "=", "split_package_name", "[", "0", "]", "module_name", "=", "package_name", ".", "replace", "(", "\"-\"", ",", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
extract_api_version_from_code
Will extract from __code__ the API version. Should be use if you use this is an operation group with no constant api_version.
scripts/multiapi_init_gen.py
def extract_api_version_from_code(function): """Will extract from __code__ the API version. Should be use if you use this is an operation group with no constant api_version. """ try: srccode = inspect.getsource(function) try: ast_tree = ast.parse(srccode) except Indentati...
def extract_api_version_from_code(function): """Will extract from __code__ the API version. Should be use if you use this is an operation group with no constant api_version. """ try: srccode = inspect.getsource(function) try: ast_tree = ast.parse(srccode) except Indentati...
[ "Will", "extract", "from", "__code__", "the", "API", "version", ".", "Should", "be", "use", "if", "you", "use", "this", "is", "an", "operation", "group", "with", "no", "constant", "api_version", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/scripts/multiapi_init_gen.py#L71-L85
[ "def", "extract_api_version_from_code", "(", "function", ")", ":", "try", ":", "srccode", "=", "inspect", ".", "getsource", "(", "function", ")", "try", ":", "ast_tree", "=", "ast", ".", "parse", "(", "srccode", ")", "except", "IndentationError", ":", "ast_t...
d7306fde32f60a293a7567678692bdad31e4b667
test
AlterationsOperations.replace
Replace alterations data. :param word_alterations: Collection of word alterations. :type word_alterations: list[~azure.cognitiveservices.knowledge.qnamaker.models.AlterationsDTO] :param dict custom_headers: headers that will be added to the request :param bool raw: returns the ...
azure-cognitiveservices-knowledge-qnamaker/azure/cognitiveservices/knowledge/qnamaker/operations/alterations_operations.py
def replace( self, word_alterations, custom_headers=None, raw=False, **operation_config): """Replace alterations data. :param word_alterations: Collection of word alterations. :type word_alterations: list[~azure.cognitiveservices.knowledge.qnamaker.models.AlterationsDTO] ...
def replace( self, word_alterations, custom_headers=None, raw=False, **operation_config): """Replace alterations data. :param word_alterations: Collection of word alterations. :type word_alterations: list[~azure.cognitiveservices.knowledge.qnamaker.models.AlterationsDTO] ...
[ "Replace", "alterations", "data", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-cognitiveservices-knowledge-qnamaker/azure/cognitiveservices/knowledge/qnamaker/operations/alterations_operations.py#L87-L134
[ "def", "replace", "(", "self", ",", "word_alterations", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "*", "*", "operation_config", ")", ":", "word_alterations1", "=", "models", ".", "WordAlterationsDTO", "(", "word_alterations", "=", "wor...
d7306fde32f60a293a7567678692bdad31e4b667
test
MeshSecretValueOperations.add_value
Adds the specified value as a new version of the specified secret resource. Creates a new value of the specified secret resource. The name of the value is typically the version identifier. Once created the value cannot be changed. :param secret_resource_name: The name of the se...
azure-servicefabric/azure/servicefabric/operations/mesh_secret_value_operations.py
def add_value( self, secret_resource_name, secret_value_resource_name, name, value=None, custom_headers=None, raw=False, **operation_config): """Adds the specified value as a new version of the specified secret resource. Creates a new value of the specified secret resource. The name...
def add_value( self, secret_resource_name, secret_value_resource_name, name, value=None, custom_headers=None, raw=False, **operation_config): """Adds the specified value as a new version of the specified secret resource. Creates a new value of the specified secret resource. The name...
[ "Adds", "the", "specified", "value", "as", "a", "new", "version", "of", "the", "specified", "secret", "resource", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicefabric/azure/servicefabric/operations/mesh_secret_value_operations.py#L38-L110
[ "def", "add_value", "(", "self", ",", "secret_resource_name", ",", "secret_value_resource_name", ",", "name", ",", "value", "=", "None", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "*", "*", "operation_config", ")", ":", "secret_value_re...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.get_storage_account_properties
Returns system properties for the specified storage account. service_name: Name of the storage service account.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def get_storage_account_properties(self, service_name): ''' Returns system properties for the specified storage account. service_name: Name of the storage service account. ''' _validate_not_none('service_name', service_name) return self._perform_get(self._get...
def get_storage_account_properties(self, service_name): ''' Returns system properties for the specified storage account. service_name: Name of the storage service account. ''' _validate_not_none('service_name', service_name) return self._perform_get(self._get...
[ "Returns", "system", "properties", "for", "the", "specified", "storage", "account", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L128-L137
[ "def", "get_storage_account_properties", "(", "self", ",", "service_name", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "return", "self", ".", "_perform_get", "(", "self", ".", "_get_storage_service_path", "(", "service_name", ")", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.get_storage_account_keys
Returns the primary and secondary access keys for the specified storage account. service_name: Name of the storage service account.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def get_storage_account_keys(self, service_name): ''' Returns the primary and secondary access keys for the specified storage account. service_name: Name of the storage service account. ''' _validate_not_none('service_name', service_name) return self....
def get_storage_account_keys(self, service_name): ''' Returns the primary and secondary access keys for the specified storage account. service_name: Name of the storage service account. ''' _validate_not_none('service_name', service_name) return self....
[ "Returns", "the", "primary", "and", "secondary", "access", "keys", "for", "the", "specified", "storage", "account", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L139-L150
[ "def", "get_storage_account_keys", "(", "self", ",", "service_name", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "return", "self", ".", "_perform_get", "(", "self", ".", "_get_storage_service_path", "(", "service_name", ")", "+",...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.regenerate_storage_account_keys
Regenerates the primary or secondary access key for the specified storage account. service_name: Name of the storage service account. key_type: Specifies which key to regenerate. Valid values are: Primary, Secondary
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def regenerate_storage_account_keys(self, service_name, key_type): ''' Regenerates the primary or secondary access key for the specified storage account. service_name: Name of the storage service account. key_type: Specifies which key to regenerate. Valid...
def regenerate_storage_account_keys(self, service_name, key_type): ''' Regenerates the primary or secondary access key for the specified storage account. service_name: Name of the storage service account. key_type: Specifies which key to regenerate. Valid...
[ "Regenerates", "the", "primary", "or", "secondary", "access", "key", "for", "the", "specified", "storage", "account", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L152-L170
[ "def", "regenerate_storage_account_keys", "(", "self", ",", "service_name", ",", "key_type", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'key_type'", ",", "key_type", ")", "return", "self", ".", "_perf...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.create_storage_account
Creates a new storage account in Windows Azure. service_name: A name for the storage account that is unique within Windows Azure. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. description: ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def create_storage_account(self, service_name, description, label, affinity_group=None, location=None, geo_replication_enabled=None, extended_properties=None, account_type='Standard_GRS'): ...
def create_storage_account(self, service_name, description, label, affinity_group=None, location=None, geo_replication_enabled=None, extended_properties=None, account_type='Standard_GRS'): ...
[ "Creates", "a", "new", "storage", "account", "in", "Windows", "Azure", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L172-L235
[ "def", "create_storage_account", "(", "self", ",", "service_name", ",", "description", ",", "label", ",", "affinity_group", "=", "None", ",", "location", "=", "None", ",", "geo_replication_enabled", "=", "None", ",", "extended_properties", "=", "None", ",", "acc...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.update_storage_account
Updates the label, the description, and enables or disables the geo-replication status for a storage account in Windows Azure. service_name: Name of the storage service account. description: A description for the storage account. The description may be up to ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def update_storage_account(self, service_name, description=None, label=None, geo_replication_enabled=None, extended_properties=None, account_type='Standard_GRS'): ''' Updates the label, the description, and enab...
def update_storage_account(self, service_name, description=None, label=None, geo_replication_enabled=None, extended_properties=None, account_type='Standard_GRS'): ''' Updates the label, the description, and enab...
[ "Updates", "the", "label", "the", "description", "and", "enables", "or", "disables", "the", "geo", "-", "replication", "status", "for", "a", "storage", "account", "in", "Windows", "Azure", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L237-L279
[ "def", "update_storage_account", "(", "self", ",", "service_name", ",", "description", "=", "None", ",", "label", "=", "None", ",", "geo_replication_enabled", "=", "None", ",", "extended_properties", "=", "None", ",", "account_type", "=", "'Standard_GRS'", ")", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.delete_storage_account
Deletes the specified storage account from Windows Azure. service_name: Name of the storage service account.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def delete_storage_account(self, service_name): ''' Deletes the specified storage account from Windows Azure. service_name: Name of the storage service account. ''' _validate_not_none('service_name', service_name) return self._perform_delete( self...
def delete_storage_account(self, service_name): ''' Deletes the specified storage account from Windows Azure. service_name: Name of the storage service account. ''' _validate_not_none('service_name', service_name) return self._perform_delete( self...
[ "Deletes", "the", "specified", "storage", "account", "from", "Windows", "Azure", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L281-L291
[ "def", "delete_storage_account", "(", "self", ",", "service_name", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "return", "self", ".", "_perform_delete", "(", "self", ".", "_get_storage_service_path", "(", "service_name", ")", ","...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.check_storage_account_name_availability
Checks to see if the specified storage account name is available, or if it has already been taken. service_name: Name of the storage service account.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def check_storage_account_name_availability(self, service_name): ''' Checks to see if the specified storage account name is available, or if it has already been taken. service_name: Name of the storage service account. ''' _validate_not_none('service_name', s...
def check_storage_account_name_availability(self, service_name): ''' Checks to see if the specified storage account name is available, or if it has already been taken. service_name: Name of the storage service account. ''' _validate_not_none('service_name', s...
[ "Checks", "to", "see", "if", "the", "specified", "storage", "account", "name", "is", "available", "or", "if", "it", "has", "already", "been", "taken", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L293-L306
[ "def", "check_storage_account_name_availability", "(", "self", ",", "service_name", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "return", "self", ".", "_perform_get", "(", "self", ".", "_get_storage_service_path", "(", ")", "+", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.get_hosted_service_properties
Retrieves system properties for the specified hosted service. These properties include the service name and service type; the name of the affinity group to which the service belongs, or its location if it is not part of an affinity group; and optionally, information on the service's depl...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def get_hosted_service_properties(self, service_name, embed_detail=False): ''' Retrieves system properties for the specified hosted service. These properties include the service name and service type; the name of the affinity group to which the service belongs, or its location if it is ...
def get_hosted_service_properties(self, service_name, embed_detail=False): ''' Retrieves system properties for the specified hosted service. These properties include the service name and service type; the name of the affinity group to which the service belongs, or its location if it is ...
[ "Retrieves", "system", "properties", "for", "the", "specified", "hosted", "service", ".", "These", "properties", "include", "the", "service", "name", "and", "service", "type", ";", "the", "name", "of", "the", "affinity", "group", "to", "which", "the", "service...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L321-L341
[ "def", "get_hosted_service_properties", "(", "self", ",", "service_name", ",", "embed_detail", "=", "False", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'embed_detail'", ",", "embed_detail", ")", "return...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.create_hosted_service
Creates a new hosted service in Windows Azure. service_name: A name for the hosted service that is unique within Windows Azure. This name is the DNS prefix name and can be used to access the hosted service. label: A name for the hosted service. The name c...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def create_hosted_service(self, service_name, label, description=None, location=None, affinity_group=None, extended_properties=None): ''' Creates a new hosted service in Windows Azure. service_name: A name for the hosted se...
def create_hosted_service(self, service_name, label, description=None, location=None, affinity_group=None, extended_properties=None): ''' Creates a new hosted service in Windows Azure. service_name: A name for the hosted se...
[ "Creates", "a", "new", "hosted", "service", "in", "Windows", "Azure", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L343-L393
[ "def", "create_hosted_service", "(", "self", ",", "service_name", ",", "label", ",", "description", "=", "None", ",", "location", "=", "None", ",", "affinity_group", "=", "None", ",", "extended_properties", "=", "None", ")", ":", "_validate_not_none", "(", "'s...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.update_hosted_service
Updates the label and/or the description for a hosted service in Windows Azure. service_name: Name of the hosted service. label: A name for the hosted service. The name may be up to 100 characters in length. You must specify a value for either Label or ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def update_hosted_service(self, service_name, label=None, description=None, extended_properties=None): ''' Updates the label and/or the description for a hosted service in Windows Azure. service_name: Name of the hosted service. label: ...
def update_hosted_service(self, service_name, label=None, description=None, extended_properties=None): ''' Updates the label and/or the description for a hosted service in Windows Azure. service_name: Name of the hosted service. label: ...
[ "Updates", "the", "label", "and", "/", "or", "the", "description", "for", "a", "hosted", "service", "in", "Windows", "Azure", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L395-L426
[ "def", "update_hosted_service", "(", "self", ",", "service_name", ",", "label", "=", "None", ",", "description", "=", "None", ",", "extended_properties", "=", "None", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "return", "sel...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.delete_hosted_service
Deletes the specified hosted service from Windows Azure. service_name: Name of the hosted service. complete: True if all OS/data disks and the source blobs for the disks should also be deleted from storage.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def delete_hosted_service(self, service_name, complete=False): ''' Deletes the specified hosted service from Windows Azure. service_name: Name of the hosted service. complete: True if all OS/data disks and the source blobs for the disks should also be...
def delete_hosted_service(self, service_name, complete=False): ''' Deletes the specified hosted service from Windows Azure. service_name: Name of the hosted service. complete: True if all OS/data disks and the source blobs for the disks should also be...
[ "Deletes", "the", "specified", "hosted", "service", "from", "Windows", "Azure", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L428-L446
[ "def", "delete_hosted_service", "(", "self", ",", "service_name", ",", "complete", "=", "False", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "path", "=", "self", ".", "_get_hosted_service_path", "(", "service_name", ")", "if", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.get_deployment_by_slot
Returns configuration information, status, and system properties for a deployment. service_name: Name of the hosted service. deployment_slot: The environment to which the hosted service is deployed. Valid values are: staging, production
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def get_deployment_by_slot(self, service_name, deployment_slot): ''' Returns configuration information, status, and system properties for a deployment. service_name: Name of the hosted service. deployment_slot: The environment to which the hosted service ...
def get_deployment_by_slot(self, service_name, deployment_slot): ''' Returns configuration information, status, and system properties for a deployment. service_name: Name of the hosted service. deployment_slot: The environment to which the hosted service ...
[ "Returns", "configuration", "information", "status", "and", "system", "properties", "for", "a", "deployment", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L448-L464
[ "def", "get_deployment_by_slot", "(", "self", ",", "service_name", ",", "deployment_slot", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_slot'", ",", "deployment_slot", ")", "return", "self", "...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.get_deployment_by_name
Returns configuration information, status, and system properties for a deployment. service_name: Name of the hosted service. deployment_name: The name of the deployment.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def get_deployment_by_name(self, service_name, deployment_name): ''' Returns configuration information, status, and system properties for a deployment. service_name: Name of the hosted service. deployment_name: The name of the deployment. ''' ...
def get_deployment_by_name(self, service_name, deployment_name): ''' Returns configuration information, status, and system properties for a deployment. service_name: Name of the hosted service. deployment_name: The name of the deployment. ''' ...
[ "Returns", "configuration", "information", "status", "and", "system", "properties", "for", "a", "deployment", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L466-L481
[ "def", "get_deployment_by_name", "(", "self", ",", "service_name", ",", "deployment_name", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "deployment_name", ")", "return", "self", "...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.create_deployment
Uploads a new service package and creates a new deployment on staging or production. service_name: Name of the hosted service. deployment_slot: The environment to which the hosted service is deployed. Valid values are: staging, production name: ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def create_deployment(self, service_name, deployment_slot, name, package_url, label, configuration, start_deployment=False, treat_warnings_as_error=False, extended_properties=None): ''' Uploads a new ...
def create_deployment(self, service_name, deployment_slot, name, package_url, label, configuration, start_deployment=False, treat_warnings_as_error=False, extended_properties=None): ''' Uploads a new ...
[ "Uploads", "a", "new", "service", "package", "and", "creates", "a", "new", "deployment", "on", "staging", "or", "production", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L483-L549
[ "def", "create_deployment", "(", "self", ",", "service_name", ",", "deployment_slot", ",", "name", ",", "package_url", ",", "label", ",", "configuration", ",", "start_deployment", "=", "False", ",", "treat_warnings_as_error", "=", "False", ",", "extended_properties"...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.delete_deployment
Deletes the specified deployment. service_name: Name of the hosted service. deployment_name: The name of the deployment.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def delete_deployment(self, service_name, deployment_name,delete_vhd=False): ''' Deletes the specified deployment. service_name: Name of the hosted service. deployment_name: The name of the deployment. ''' _validate_not_none('service_name', servic...
def delete_deployment(self, service_name, deployment_name,delete_vhd=False): ''' Deletes the specified deployment. service_name: Name of the hosted service. deployment_name: The name of the deployment. ''' _validate_not_none('service_name', servic...
[ "Deletes", "the", "specified", "deployment", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L551-L567
[ "def", "delete_deployment", "(", "self", ",", "service_name", ",", "deployment_name", ",", "delete_vhd", "=", "False", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "deployment_nam...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.swap_deployment
Initiates a virtual IP swap between the staging and production deployment environments for a service. If the service is currently running in the staging environment, it will be swapped to the production environment. If it is running in the production environment, it will be swapped to st...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def swap_deployment(self, service_name, production, source_deployment): ''' Initiates a virtual IP swap between the staging and production deployment environments for a service. If the service is currently running in the staging environment, it will be swapped to the production e...
def swap_deployment(self, service_name, production, source_deployment): ''' Initiates a virtual IP swap between the staging and production deployment environments for a service. If the service is currently running in the staging environment, it will be swapped to the production e...
[ "Initiates", "a", "virtual", "IP", "swap", "between", "the", "staging", "and", "production", "deployment", "environments", "for", "a", "service", ".", "If", "the", "service", "is", "currently", "running", "in", "the", "staging", "environment", "it", "will", "b...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L569-L590
[ "def", "swap_deployment", "(", "self", ",", "service_name", ",", "production", ",", "source_deployment", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'production'", ",", "production", ")", "_validate_not_...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.change_deployment_configuration
Initiates a change to the deployment configuration. service_name: Name of the hosted service. deployment_name: The name of the deployment. configuration: The base-64 encoded service configuration file for the deployment. treat_warnings_as_error: ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def change_deployment_configuration(self, service_name, deployment_name, configuration, treat_warnings_as_error=False, mode='Auto', extended_properties=None): ''' Initiates a change to...
def change_deployment_configuration(self, service_name, deployment_name, configuration, treat_warnings_as_error=False, mode='Auto', extended_properties=None): ''' Initiates a change to...
[ "Initiates", "a", "change", "to", "the", "deployment", "configuration", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L592-L633
[ "def", "change_deployment_configuration", "(", "self", ",", "service_name", ",", "deployment_name", ",", "configuration", ",", "treat_warnings_as_error", "=", "False", ",", "mode", "=", "'Auto'", ",", "extended_properties", "=", "None", ")", ":", "_validate_not_none",...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.update_deployment_status
Initiates a change in deployment status. service_name: Name of the hosted service. deployment_name: The name of the deployment. status: The change to initiate to the deployment status. Possible values include: Running, Suspended
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def update_deployment_status(self, service_name, deployment_name, status): ''' Initiates a change in deployment status. service_name: Name of the hosted service. deployment_name: The name of the deployment. status: The change to initiate to th...
def update_deployment_status(self, service_name, deployment_name, status): ''' Initiates a change in deployment status. service_name: Name of the hosted service. deployment_name: The name of the deployment. status: The change to initiate to th...
[ "Initiates", "a", "change", "in", "deployment", "status", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L635-L656
[ "def", "update_deployment_status", "(", "self", ",", "service_name", ",", "deployment_name", ",", "status", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "deployment_name", ")", "_...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.upgrade_deployment
Initiates an upgrade. service_name: Name of the hosted service. deployment_name: The name of the deployment. mode: If set to Manual, WalkUpgradeDomain must be called to apply the update. If set to Auto, the Windows Azure platform will ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def upgrade_deployment(self, service_name, deployment_name, mode, package_url, configuration, label, force, role_to_upgrade=None, extended_properties=None): ''' Initiates an upgrade. service_name: Name of the hosted service. ...
def upgrade_deployment(self, service_name, deployment_name, mode, package_url, configuration, label, force, role_to_upgrade=None, extended_properties=None): ''' Initiates an upgrade. service_name: Name of the hosted service. ...
[ "Initiates", "an", "upgrade", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L658-L718
[ "def", "upgrade_deployment", "(", "self", ",", "service_name", ",", "deployment_name", ",", "mode", ",", "package_url", ",", "configuration", ",", "label", ",", "force", ",", "role_to_upgrade", "=", "None", ",", "extended_properties", "=", "None", ")", ":", "_...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.walk_upgrade_domain
Specifies the next upgrade domain to be walked during manual in-place upgrade or configuration change. service_name: Name of the hosted service. deployment_name: The name of the deployment. upgrade_domain: An integer value that identifies the upgrade ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def walk_upgrade_domain(self, service_name, deployment_name, upgrade_domain): ''' Specifies the next upgrade domain to be walked during manual in-place upgrade or configuration change. service_name: Name of the hosted service. deployment_n...
def walk_upgrade_domain(self, service_name, deployment_name, upgrade_domain): ''' Specifies the next upgrade domain to be walked during manual in-place upgrade or configuration change. service_name: Name of the hosted service. deployment_n...
[ "Specifies", "the", "next", "upgrade", "domain", "to", "be", "walked", "during", "manual", "in", "-", "place", "upgrade", "or", "configuration", "change", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L720-L743
[ "def", "walk_upgrade_domain", "(", "self", ",", "service_name", ",", "deployment_name", ",", "upgrade_domain", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "deployment_name", ")", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.rollback_update_or_upgrade
Cancels an in progress configuration change (update) or upgrade and returns the deployment to its state before the upgrade or configuration change was started. service_name: Name of the hosted service. deployment_name: The name of the deployment. mode: ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def rollback_update_or_upgrade(self, service_name, deployment_name, mode, force): ''' Cancels an in progress configuration change (update) or upgrade and returns the deployment to its state before the upgrade or configuration change was started. ...
def rollback_update_or_upgrade(self, service_name, deployment_name, mode, force): ''' Cancels an in progress configuration change (update) or upgrade and returns the deployment to its state before the upgrade or configuration change was started. ...
[ "Cancels", "an", "in", "progress", "configuration", "change", "(", "update", ")", "or", "upgrade", "and", "returns", "the", "deployment", "to", "its", "state", "before", "the", "upgrade", "or", "configuration", "change", "was", "started", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L745-L776
[ "def", "rollback_update_or_upgrade", "(", "self", ",", "service_name", ",", "deployment_name", ",", "mode", ",", "force", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "deployment_...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.reboot_role_instance
Requests a reboot of a role instance that is running in a deployment. service_name: Name of the hosted service. deployment_name: The name of the deployment. role_instance_name: The name of the role instance.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def reboot_role_instance(self, service_name, deployment_name, role_instance_name): ''' Requests a reboot of a role instance that is running in a deployment. service_name: Name of the hosted service. deployment_name: The name of the de...
def reboot_role_instance(self, service_name, deployment_name, role_instance_name): ''' Requests a reboot of a role instance that is running in a deployment. service_name: Name of the hosted service. deployment_name: The name of the de...
[ "Requests", "a", "reboot", "of", "a", "role", "instance", "that", "is", "running", "in", "a", "deployment", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L778-L799
[ "def", "reboot_role_instance", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_instance_name", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "deployment_name", "...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.delete_role_instances
Reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use reimage_role_instance. service_name: Name of the hosted service. dep...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def delete_role_instances(self, service_name, deployment_name, role_instance_names): ''' Reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize st...
def delete_role_instances(self, service_name, deployment_name, role_instance_names): ''' Reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize st...
[ "Reinstalls", "the", "operating", "system", "on", "instances", "of", "web", "roles", "or", "worker", "roles", "and", "initializes", "the", "storage", "resources", "that", "are", "used", "by", "them", ".", "If", "you", "do", "not", "want", "to", "initialize",...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L850-L872
[ "def", "delete_role_instances", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_instance_names", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "deployment_name", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.check_hosted_service_name_availability
Checks to see if the specified hosted service name is available, or if it has already been taken. service_name: Name of the hosted service.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def check_hosted_service_name_availability(self, service_name): ''' Checks to see if the specified hosted service name is available, or if it has already been taken. service_name: Name of the hosted service. ''' _validate_not_none('service_name', service_name...
def check_hosted_service_name_availability(self, service_name): ''' Checks to see if the specified hosted service name is available, or if it has already been taken. service_name: Name of the hosted service. ''' _validate_not_none('service_name', service_name...
[ "Checks", "to", "see", "if", "the", "specified", "hosted", "service", "name", "is", "available", "or", "if", "it", "has", "already", "been", "taken", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L874-L887
[ "def", "check_hosted_service_name_availability", "(", "self", ",", "service_name", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "return", "self", ".", "_perform_get", "(", "'/'", "+", "self", ".", "subscription_id", "+", "'/servic...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.list_service_certificates
Lists all of the service certificates associated with the specified hosted service. service_name: Name of the hosted service.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def list_service_certificates(self, service_name): ''' Lists all of the service certificates associated with the specified hosted service. service_name: Name of the hosted service. ''' _validate_not_none('service_name', service_name) return self._perf...
def list_service_certificates(self, service_name): ''' Lists all of the service certificates associated with the specified hosted service. service_name: Name of the hosted service. ''' _validate_not_none('service_name', service_name) return self._perf...
[ "Lists", "all", "of", "the", "service", "certificates", "associated", "with", "the", "specified", "hosted", "service", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L890-L902
[ "def", "list_service_certificates", "(", "self", ",", "service_name", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "return", "self", ".", "_perform_get", "(", "'/'", "+", "self", ".", "subscription_id", "+", "'/services/hostedserv...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.get_service_certificate
Returns the public data for the specified X.509 certificate associated with a hosted service. service_name: Name of the hosted service. thumbalgorithm: The algorithm for the certificate's thumbprint. thumbprint: The hexadecimal representation of the t...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def get_service_certificate(self, service_name, thumbalgorithm, thumbprint): ''' Returns the public data for the specified X.509 certificate associated with a hosted service. service_name: Name of the hosted service. thumbalgorithm: The algorithm for the ...
def get_service_certificate(self, service_name, thumbalgorithm, thumbprint): ''' Returns the public data for the specified X.509 certificate associated with a hosted service. service_name: Name of the hosted service. thumbalgorithm: The algorithm for the ...
[ "Returns", "the", "public", "data", "for", "the", "specified", "X", ".", "509", "certificate", "associated", "with", "a", "hosted", "service", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L904-L923
[ "def", "get_service_certificate", "(", "self", ",", "service_name", ",", "thumbalgorithm", ",", "thumbprint", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'thumbalgorithm'", ",", "thumbalgorithm", ")", "_...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.add_service_certificate
Adds a certificate to a hosted service. service_name: Name of the hosted service. data: The base-64 encoded form of the pfx/cer file. certificate_format: The service certificate format. password: The certificate password. Default to None w...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def add_service_certificate(self, service_name, data, certificate_format, password=None): ''' Adds a certificate to a hosted service. service_name: Name of the hosted service. data: The base-64 encoded form of the pfx/cer file. ...
def add_service_certificate(self, service_name, data, certificate_format, password=None): ''' Adds a certificate to a hosted service. service_name: Name of the hosted service. data: The base-64 encoded form of the pfx/cer file. ...
[ "Adds", "a", "certificate", "to", "a", "hosted", "service", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L925-L949
[ "def", "add_service_certificate", "(", "self", ",", "service_name", ",", "data", ",", "certificate_format", ",", "password", "=", "None", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'data'", ",", "da...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.delete_service_certificate
Deletes a service certificate from the certificate store of a hosted service. service_name: Name of the hosted service. thumbalgorithm: The algorithm for the certificate's thumbprint. thumbprint: The hexadecimal representation of the thumbprint.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def delete_service_certificate(self, service_name, thumbalgorithm, thumbprint): ''' Deletes a service certificate from the certificate store of a hosted service. service_name: Name of the hosted service. thumbalgorithm: ...
def delete_service_certificate(self, service_name, thumbalgorithm, thumbprint): ''' Deletes a service certificate from the certificate store of a hosted service. service_name: Name of the hosted service. thumbalgorithm: ...
[ "Deletes", "a", "service", "certificate", "from", "the", "certificate", "store", "of", "a", "hosted", "service", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L951-L971
[ "def", "delete_service_certificate", "(", "self", ",", "service_name", ",", "thumbalgorithm", ",", "thumbprint", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'thumbalgorithm'", ",", "thumbalgorithm", ")", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.get_management_certificate
The Get Management Certificate operation retrieves information about the management certificate with the specified thumbprint. Management certificates, which are also known as subscription certificates, authenticate clients attempting to connect to resources associated with your Windows ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def get_management_certificate(self, thumbprint): ''' The Get Management Certificate operation retrieves information about the management certificate with the specified thumbprint. Management certificates, which are also known as subscription certificates, authenticate clients at...
def get_management_certificate(self, thumbprint): ''' The Get Management Certificate operation retrieves information about the management certificate with the specified thumbprint. Management certificates, which are also known as subscription certificates, authenticate clients at...
[ "The", "Get", "Management", "Certificate", "operation", "retrieves", "information", "about", "the", "management", "certificate", "with", "the", "specified", "thumbprint", ".", "Management", "certificates", "which", "are", "also", "known", "as", "subscription", "certif...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L985-L999
[ "def", "get_management_certificate", "(", "self", ",", "thumbprint", ")", ":", "_validate_not_none", "(", "'thumbprint'", ",", "thumbprint", ")", "return", "self", ".", "_perform_get", "(", "'/'", "+", "self", ".", "subscription_id", "+", "'/certificates/'", "+", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.add_management_certificate
The Add Management Certificate operation adds a certificate to the list of management certificates. Management certificates, which are also known as subscription certificates, authenticate clients attempting to connect to resources associated with your Windows Azure subscription. ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def add_management_certificate(self, public_key, thumbprint, data): ''' The Add Management Certificate operation adds a certificate to the list of management certificates. Management certificates, which are also known as subscription certificates, authenticate clients attempting ...
def add_management_certificate(self, public_key, thumbprint, data): ''' The Add Management Certificate operation adds a certificate to the list of management certificates. Management certificates, which are also known as subscription certificates, authenticate clients attempting ...
[ "The", "Add", "Management", "Certificate", "operation", "adds", "a", "certificate", "to", "the", "list", "of", "management", "certificates", ".", "Management", "certificates", "which", "are", "also", "known", "as", "subscription", "certificates", "authenticate", "cl...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1001-L1023
[ "def", "add_management_certificate", "(", "self", ",", "public_key", ",", "thumbprint", ",", "data", ")", ":", "_validate_not_none", "(", "'public_key'", ",", "public_key", ")", "_validate_not_none", "(", "'thumbprint'", ",", "thumbprint", ")", "_validate_not_none", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.delete_management_certificate
The Delete Management Certificate operation deletes a certificate from the list of management certificates. Management certificates, which are also known as subscription certificates, authenticate clients attempting to connect to resources associated with your Windows Azure subscription....
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def delete_management_certificate(self, thumbprint): ''' The Delete Management Certificate operation deletes a certificate from the list of management certificates. Management certificates, which are also known as subscription certificates, authenticate clients attempting to conn...
def delete_management_certificate(self, thumbprint): ''' The Delete Management Certificate operation deletes a certificate from the list of management certificates. Management certificates, which are also known as subscription certificates, authenticate clients attempting to conn...
[ "The", "Delete", "Management", "Certificate", "operation", "deletes", "a", "certificate", "from", "the", "list", "of", "management", "certificates", ".", "Management", "certificates", "which", "are", "also", "known", "as", "subscription", "certificates", "authenticate...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1025-L1039
[ "def", "delete_management_certificate", "(", "self", ",", "thumbprint", ")", ":", "_validate_not_none", "(", "'thumbprint'", ",", "thumbprint", ")", "return", "self", ".", "_perform_delete", "(", "'/'", "+", "self", ".", "subscription_id", "+", "'/certificates/'", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.get_affinity_group_properties
Returns the system properties associated with the specified affinity group. affinity_group_name: The name of the affinity group.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def get_affinity_group_properties(self, affinity_group_name): ''' Returns the system properties associated with the specified affinity group. affinity_group_name: The name of the affinity group. ''' _validate_not_none('affinity_group_name', affinity_group_nam...
def get_affinity_group_properties(self, affinity_group_name): ''' Returns the system properties associated with the specified affinity group. affinity_group_name: The name of the affinity group. ''' _validate_not_none('affinity_group_name', affinity_group_nam...
[ "Returns", "the", "system", "properties", "associated", "with", "the", "specified", "affinity", "group", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1050-L1062
[ "def", "get_affinity_group_properties", "(", "self", ",", "affinity_group_name", ")", ":", "_validate_not_none", "(", "'affinity_group_name'", ",", "affinity_group_name", ")", "return", "self", ".", "_perform_get", "(", "'/'", "+", "self", ".", "subscription_id", "+",...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.create_affinity_group
Creates a new affinity group for the specified subscription. name: A name for the affinity group that is unique to the subscription. label: A name for the affinity group. The name can be up to 100 characters in length. location: The data center lo...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def create_affinity_group(self, name, label, location, description=None): ''' Creates a new affinity group for the specified subscription. name: A name for the affinity group that is unique to the subscription. label: A name for the affinity group. The name can b...
def create_affinity_group(self, name, label, location, description=None): ''' Creates a new affinity group for the specified subscription. name: A name for the affinity group that is unique to the subscription. label: A name for the affinity group. The name can b...
[ "Creates", "a", "new", "affinity", "group", "for", "the", "specified", "subscription", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1064-L1088
[ "def", "create_affinity_group", "(", "self", ",", "name", ",", "label", ",", "location", ",", "description", "=", "None", ")", ":", "_validate_not_none", "(", "'name'", ",", "name", ")", "_validate_not_none", "(", "'label'", ",", "label", ")", "_validate_not_n...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.update_affinity_group
Updates the label and/or the description for an affinity group for the specified subscription. affinity_group_name: The name of the affinity group. label: A name for the affinity group. The name can be up to 100 characters in length. description: ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def update_affinity_group(self, affinity_group_name, label, description=None): ''' Updates the label and/or the description for an affinity group for the specified subscription. affinity_group_name: The name of the affinity group. label:...
def update_affinity_group(self, affinity_group_name, label, description=None): ''' Updates the label and/or the description for an affinity group for the specified subscription. affinity_group_name: The name of the affinity group. label:...
[ "Updates", "the", "label", "and", "/", "or", "the", "description", "for", "an", "affinity", "group", "for", "the", "specified", "subscription", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1090-L1110
[ "def", "update_affinity_group", "(", "self", ",", "affinity_group_name", ",", "label", ",", "description", "=", "None", ")", ":", "_validate_not_none", "(", "'affinity_group_name'", ",", "affinity_group_name", ")", "_validate_not_none", "(", "'label'", ",", "label", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.delete_affinity_group
Deletes an affinity group in the specified subscription. affinity_group_name: The name of the affinity group.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def delete_affinity_group(self, affinity_group_name): ''' Deletes an affinity group in the specified subscription. affinity_group_name: The name of the affinity group. ''' _validate_not_none('affinity_group_name', affinity_group_name) return self._perform_del...
def delete_affinity_group(self, affinity_group_name): ''' Deletes an affinity group in the specified subscription. affinity_group_name: The name of the affinity group. ''' _validate_not_none('affinity_group_name', affinity_group_name) return self._perform_del...
[ "Deletes", "an", "affinity", "group", "in", "the", "specified", "subscription", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1112-L1122
[ "def", "delete_affinity_group", "(", "self", ",", "affinity_group_name", ")", ":", "_validate_not_none", "(", "'affinity_group_name'", ",", "affinity_group_name", ")", "return", "self", ".", "_perform_delete", "(", "'/'", "+", "self", ".", "subscription_id", "+", "'...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.list_subscription_operations
List subscription operations. start_time: Required. An ISO8601 date. end_time: Required. An ISO8601 date. object_id_filter: Optional. Returns subscription operations only for the specified object type and object ID operation_result_filter: Optional. Returns subscription operations only ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def list_subscription_operations(self, start_time=None, end_time=None, object_id_filter=None, operation_result_filter=None, continuation_token=None): ''' List subscription operations. start_time: Required. An ISO8601 date. end_time: Required. An ISO8...
def list_subscription_operations(self, start_time=None, end_time=None, object_id_filter=None, operation_result_filter=None, continuation_token=None): ''' List subscription operations. start_time: Required. An ISO8601 date. end_time: Required. An ISO8...
[ "List", "subscription", "operations", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1163-L1186
[ "def", "list_subscription_operations", "(", "self", ",", "start_time", "=", "None", ",", "end_time", "=", "None", ",", "object_id_filter", "=", "None", ",", "operation_result_filter", "=", "None", ",", "continuation_token", "=", "None", ")", ":", "start_time", "...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.create_reserved_ip_address
Reserves an IPv4 address for the specified subscription. name: Required. Specifies the name for the reserved IP address. label: Optional. Specifies a label for the reserved IP address. The label can be up to 100 characters long and can be used for your tracking ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def create_reserved_ip_address(self, name, label=None, location=None): ''' Reserves an IPv4 address for the specified subscription. name: Required. Specifies the name for the reserved IP address. label: Optional. Specifies a label for the reserved IP address. The...
def create_reserved_ip_address(self, name, label=None, location=None): ''' Reserves an IPv4 address for the specified subscription. name: Required. Specifies the name for the reserved IP address. label: Optional. Specifies a label for the reserved IP address. The...
[ "Reserves", "an", "IPv4", "address", "for", "the", "specified", "subscription", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1189-L1209
[ "def", "create_reserved_ip_address", "(", "self", ",", "name", ",", "label", "=", "None", ",", "location", "=", "None", ")", ":", "_validate_not_none", "(", "'name'", ",", "name", ")", "return", "self", ".", "_perform_post", "(", "self", ".", "_get_reserved_...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.delete_reserved_ip_address
Deletes a reserved IP address from the specified subscription. name: Required. Name of the reserved IP address.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def delete_reserved_ip_address(self, name): ''' Deletes a reserved IP address from the specified subscription. name: Required. Name of the reserved IP address. ''' _validate_not_none('name', name) return self._perform_delete(self._get_reserved_ip_path(name), ...
def delete_reserved_ip_address(self, name): ''' Deletes a reserved IP address from the specified subscription. name: Required. Name of the reserved IP address. ''' _validate_not_none('name', name) return self._perform_delete(self._get_reserved_ip_path(name), ...
[ "Deletes", "a", "reserved", "IP", "address", "from", "the", "specified", "subscription", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1211-L1220
[ "def", "delete_reserved_ip_address", "(", "self", ",", "name", ")", ":", "_validate_not_none", "(", "'name'", ",", "name", ")", "return", "self", ".", "_perform_delete", "(", "self", ".", "_get_reserved_ip_path", "(", "name", ")", ",", "as_async", "=", "True",...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.associate_reserved_ip_address
Associate an existing reservedIP to a deployment. name: Required. Name of the reserved IP address. service_name: Required. Name of the hosted service. deployment_name: Required. Name of the deployment. virtual_ip_name: Optional. Name of...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def associate_reserved_ip_address( self, name, service_name, deployment_name, virtual_ip_name=None ): ''' Associate an existing reservedIP to a deployment. name: Required. Name of the reserved IP address. service_name: Required. Name of the hosted se...
def associate_reserved_ip_address( self, name, service_name, deployment_name, virtual_ip_name=None ): ''' Associate an existing reservedIP to a deployment. name: Required. Name of the reserved IP address. service_name: Required. Name of the hosted se...
[ "Associate", "an", "existing", "reservedIP", "to", "a", "deployment", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1222-L1252
[ "def", "associate_reserved_ip_address", "(", "self", ",", "name", ",", "service_name", ",", "deployment_name", ",", "virtual_ip_name", "=", "None", ")", ":", "_validate_not_none", "(", "'name'", ",", "name", ")", "_validate_not_none", "(", "'service_name'", ",", "...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.disassociate_reserved_ip_address
Disassociate an existing reservedIP from the given deployment. name: Required. Name of the reserved IP address. service_name: Required. Name of the hosted service. deployment_name: Required. Name of the deployment. virtual_ip_name: Opti...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def disassociate_reserved_ip_address( self, name, service_name, deployment_name, virtual_ip_name=None ): ''' Disassociate an existing reservedIP from the given deployment. name: Required. Name of the reserved IP address. service_name: Required. Name ...
def disassociate_reserved_ip_address( self, name, service_name, deployment_name, virtual_ip_name=None ): ''' Disassociate an existing reservedIP from the given deployment. name: Required. Name of the reserved IP address. service_name: Required. Name ...
[ "Disassociate", "an", "existing", "reservedIP", "from", "the", "given", "deployment", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1254-L1284
[ "def", "disassociate_reserved_ip_address", "(", "self", ",", "name", ",", "service_name", ",", "deployment_name", ",", "virtual_ip_name", "=", "None", ")", ":", "_validate_not_none", "(", "'name'", ",", "name", ")", "_validate_not_none", "(", "'service_name'", ",", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.get_reserved_ip_address
Retrieves information about the specified reserved IP address. name: Required. Name of the reserved IP address.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def get_reserved_ip_address(self, name): ''' Retrieves information about the specified reserved IP address. name: Required. Name of the reserved IP address. ''' _validate_not_none('name', name) return self._perform_get(self._get_reserved_ip_path(name), Reserv...
def get_reserved_ip_address(self, name): ''' Retrieves information about the specified reserved IP address. name: Required. Name of the reserved IP address. ''' _validate_not_none('name', name) return self._perform_get(self._get_reserved_ip_path(name), Reserv...
[ "Retrieves", "information", "about", "the", "specified", "reserved", "IP", "address", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1286-L1294
[ "def", "get_reserved_ip_address", "(", "self", ",", "name", ")", ":", "_validate_not_none", "(", "'name'", ",", "name", ")", "return", "self", ".", "_perform_get", "(", "self", ".", "_get_reserved_ip_path", "(", "name", ")", ",", "ReservedIP", ")" ]
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.get_role
Retrieves the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def get_role(self, service_name, deployment_name, role_name): ''' Retrieves the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role. ''' ...
def get_role(self, service_name, deployment_name, role_name): ''' Retrieves the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role. ''' ...
[ "Retrieves", "the", "specified", "virtual", "machine", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1304-L1320
[ "def", "get_role", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_name", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "deployment_name", ")", "_validate_not_...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.create_virtual_machine_deployment
Provisions a virtual machine based on the supplied configuration. service_name: Name of the hosted service. deployment_name: The name for the deployment. The deployment name must be unique among other deployments for the hosted service. deployment_slot: ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def create_virtual_machine_deployment(self, service_name, deployment_name, deployment_slot, label, role_name, system_config, os_virtual_hard_disk, network_config=None, ...
def create_virtual_machine_deployment(self, service_name, deployment_name, deployment_slot, label, role_name, system_config, os_virtual_hard_disk, network_config=None, ...
[ "Provisions", "a", "virtual", "machine", "based", "on", "the", "supplied", "configuration", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1322-L1444
[ "def", "create_virtual_machine_deployment", "(", "self", ",", "service_name", ",", "deployment_name", ",", "deployment_slot", ",", "label", ",", "role_name", ",", "system_config", ",", "os_virtual_hard_disk", ",", "network_config", "=", "None", ",", "availability_set_na...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.add_role
Adds a virtual machine to an existing deployment. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role. system_config: Contains the metadata required to provision a virtual mac...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def add_role(self, service_name, deployment_name, role_name, system_config, os_virtual_hard_disk, network_config=None, availability_set_name=None, data_virtual_hard_disks=None, role_size=None, role_type='PersistentVMRole', resource_extension_references...
def add_role(self, service_name, deployment_name, role_name, system_config, os_virtual_hard_disk, network_config=None, availability_set_name=None, data_virtual_hard_disks=None, role_size=None, role_type='PersistentVMRole', resource_extension_references...
[ "Adds", "a", "virtual", "machine", "to", "an", "existing", "deployment", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1446-L1529
[ "def", "add_role", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_name", ",", "system_config", ",", "os_virtual_hard_disk", ",", "network_config", "=", "None", ",", "availability_set_name", "=", "None", ",", "data_virtual_hard_disks", "=", "Non...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.update_role
Updates the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role. os_virtual_hard_disk: Contains the parameters Windows Azure uses to create the oper...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def update_role(self, service_name, deployment_name, role_name, os_virtual_hard_disk=None, network_config=None, availability_set_name=None, data_virtual_hard_disks=None, role_size=None, role_type='PersistentVMRole', resource_extension_refer...
def update_role(self, service_name, deployment_name, role_name, os_virtual_hard_disk=None, network_config=None, availability_set_name=None, data_virtual_hard_disks=None, role_size=None, role_type='PersistentVMRole', resource_extension_refer...
[ "Updates", "the", "specified", "virtual", "machine", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1531-L1597
[ "def", "update_role", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_name", ",", "os_virtual_hard_disk", "=", "None", ",", "network_config", "=", "None", ",", "availability_set_name", "=", "None", ",", "data_virtual_hard_disks", "=", "None", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.delete_role
Deletes the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role. complete: True if all OS/data disks and the source blobs for the disks should ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def delete_role(self, service_name, deployment_name, role_name, complete = False): ''' Deletes the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role. ...
def delete_role(self, service_name, deployment_name, role_name, complete = False): ''' Deletes the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role. ...
[ "Deletes", "the", "specified", "virtual", "machine", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1599-L1623
[ "def", "delete_role", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_name", ",", "complete", "=", "False", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.capture_role
The Capture Role operation captures a virtual machine image to your image gallery. From the captured image, you can create additional customized virtual machines. service_name: The name of the service. deployment_name: The name of the deployment. role_nam...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def capture_role(self, service_name, deployment_name, role_name, post_capture_action, target_image_name, target_image_label, provisioning_configuration=None): ''' The Capture Role operation captures a virtual machine image to your image gallery. From the...
def capture_role(self, service_name, deployment_name, role_name, post_capture_action, target_image_name, target_image_label, provisioning_configuration=None): ''' The Capture Role operation captures a virtual machine image to your image gallery. From the...
[ "The", "Capture", "Role", "operation", "captures", "a", "virtual", "machine", "image", "to", "your", "image", "gallery", ".", "From", "the", "captured", "image", "you", "can", "create", "additional", "customized", "virtual", "machines", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1625-L1663
[ "def", "capture_role", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_name", ",", "post_capture_action", ",", "target_image_name", ",", "target_image_label", ",", "provisioning_configuration", "=", "None", ")", ":", "_validate_not_none", "(", "'s...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.start_role
Starts the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def start_role(self, service_name, deployment_name, role_name): ''' Starts the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role. ''' ...
def start_role(self, service_name, deployment_name, role_name): ''' Starts the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role. ''' ...
[ "Starts", "the", "specified", "virtual", "machine", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1665-L1683
[ "def", "start_role", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_name", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "deployment_name", ")", "_validate_no...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.start_roles
Starts the specified virtual machines. service_name: The name of the service. deployment_name: The name of the deployment. role_names: The names of the roles, as an enumerable of strings.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def start_roles(self, service_name, deployment_name, role_names): ''' Starts the specified virtual machines. service_name: The name of the service. deployment_name: The name of the deployment. role_names: The names of the roles, as an enumerab...
def start_roles(self, service_name, deployment_name, role_names): ''' Starts the specified virtual machines. service_name: The name of the service. deployment_name: The name of the deployment. role_names: The names of the roles, as an enumerab...
[ "Starts", "the", "specified", "virtual", "machines", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1685-L1702
[ "def", "start_roles", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_names", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "deployment_name", ")", "_validate_...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.restart_role
Restarts the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def restart_role(self, service_name, deployment_name, role_name): ''' Restarts the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role. ''' ...
def restart_role(self, service_name, deployment_name, role_name): ''' Restarts the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role. ''' ...
[ "Restarts", "the", "specified", "virtual", "machine", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1704-L1723
[ "def", "restart_role", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_name", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "deployment_name", ")", "_validate_...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.shutdown_role
Shuts down the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role. post_shutdown_action: Specifies how the Virtual Machine should be shut down. Val...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def shutdown_role(self, service_name, deployment_name, role_name, post_shutdown_action='Stopped'): ''' Shuts down the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role...
def shutdown_role(self, service_name, deployment_name, role_name, post_shutdown_action='Stopped'): ''' Shuts down the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role...
[ "Shuts", "down", "the", "specified", "virtual", "machine", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1725-L1756
[ "def", "shutdown_role", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_name", ",", "post_shutdown_action", "=", "'Stopped'", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.shutdown_roles
Shuts down the specified virtual machines. service_name: The name of the service. deployment_name: The name of the deployment. role_names: The names of the roles, as an enumerable of strings. post_shutdown_action: Specifies how the Virtual...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def shutdown_roles(self, service_name, deployment_name, role_names, post_shutdown_action='Stopped'): ''' Shuts down the specified virtual machines. service_name: The name of the service. deployment_name: The name of the deployment. ...
def shutdown_roles(self, service_name, deployment_name, role_names, post_shutdown_action='Stopped'): ''' Shuts down the specified virtual machines. service_name: The name of the service. deployment_name: The name of the deployment. ...
[ "Shuts", "down", "the", "specified", "virtual", "machines", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1758-L1789
[ "def", "shutdown_roles", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_names", ",", "post_shutdown_action", "=", "'Stopped'", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deploymen...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.add_dns_server
Adds a DNS server definition to an existing deployment. service_name: The name of the service. deployment_name: The name of the deployment. dns_server_name: Specifies the name of the DNS server. address: Specifies the IP address of the DNS...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def add_dns_server(self, service_name, deployment_name, dns_server_name, address): ''' Adds a DNS server definition to an existing deployment. service_name: The name of the service. deployment_name: The name of the deployment. dns_server_name: ...
def add_dns_server(self, service_name, deployment_name, dns_server_name, address): ''' Adds a DNS server definition to an existing deployment. service_name: The name of the service. deployment_name: The name of the deployment. dns_server_name: ...
[ "Adds", "a", "DNS", "server", "definition", "to", "an", "existing", "deployment", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1791-L1811
[ "def", "add_dns_server", "(", "self", ",", "service_name", ",", "deployment_name", ",", "dns_server_name", ",", "address", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "deployment...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.update_dns_server
Updates the ip address of a DNS server. service_name: The name of the service. deployment_name: The name of the deployment. dns_server_name: Specifies the name of the DNS server. address: Specifies the IP address of the DNS server.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def update_dns_server(self, service_name, deployment_name, dns_server_name, address): ''' Updates the ip address of a DNS server. service_name: The name of the service. deployment_name: The name of the deployment. dns_server_name: Specifies th...
def update_dns_server(self, service_name, deployment_name, dns_server_name, address): ''' Updates the ip address of a DNS server. service_name: The name of the service. deployment_name: The name of the deployment. dns_server_name: Specifies th...
[ "Updates", "the", "ip", "address", "of", "a", "DNS", "server", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1813-L1835
[ "def", "update_dns_server", "(", "self", ",", "service_name", ",", "deployment_name", ",", "dns_server_name", ",", "address", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "deploym...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.delete_dns_server
Deletes a DNS server from a deployment. service_name: The name of the service. deployment_name: The name of the deployment. dns_server_name: Name of the DNS server that you want to delete.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def delete_dns_server(self, service_name, deployment_name, dns_server_name): ''' Deletes a DNS server from a deployment. service_name: The name of the service. deployment_name: The name of the deployment. dns_server_name: Name of the DNS serve...
def delete_dns_server(self, service_name, deployment_name, dns_server_name): ''' Deletes a DNS server from a deployment. service_name: The name of the service. deployment_name: The name of the deployment. dns_server_name: Name of the DNS serve...
[ "Deletes", "a", "DNS", "server", "from", "a", "deployment", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1837-L1855
[ "def", "delete_dns_server", "(", "self", ",", "service_name", ",", "deployment_name", ",", "dns_server_name", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "deployment_name", ")", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.list_resource_extension_versions
Lists the versions of a resource extension that are available to add to a Virtual Machine. publisher_name: Name of the resource extension publisher. extension_name: Name of the resource extension.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def list_resource_extension_versions(self, publisher_name, extension_name): ''' Lists the versions of a resource extension that are available to add to a Virtual Machine. publisher_name: Name of the resource extension publisher. extension_name: Name of th...
def list_resource_extension_versions(self, publisher_name, extension_name): ''' Lists the versions of a resource extension that are available to add to a Virtual Machine. publisher_name: Name of the resource extension publisher. extension_name: Name of th...
[ "Lists", "the", "versions", "of", "a", "resource", "extension", "that", "are", "available", "to", "add", "to", "a", "Virtual", "Machine", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1865-L1877
[ "def", "list_resource_extension_versions", "(", "self", ",", "publisher_name", ",", "extension_name", ")", ":", "return", "self", ".", "_perform_get", "(", "self", ".", "_get_resource_extension_versions_path", "(", "publisher_name", ",", "extension_name", ")", ",", "R...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.replicate_vm_image
Replicate a VM image to multiple target locations. This operation is only for publishers. You have to be registered as image publisher with Microsoft Azure to be able to call this. vm_image_name: Specifies the name of the VM Image that is to be used for replication ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def replicate_vm_image(self, vm_image_name, regions, offer, sku, version): ''' Replicate a VM image to multiple target locations. This operation is only for publishers. You have to be registered as image publisher with Microsoft Azure to be able to call this. vm_image_name: ...
def replicate_vm_image(self, vm_image_name, regions, offer, sku, version): ''' Replicate a VM image to multiple target locations. This operation is only for publishers. You have to be registered as image publisher with Microsoft Azure to be able to call this. vm_image_name: ...
[ "Replicate", "a", "VM", "image", "to", "multiple", "target", "locations", ".", "This", "operation", "is", "only", "for", "publishers", ".", "You", "have", "to", "be", "registered", "as", "image", "publisher", "with", "Microsoft", "Azure", "to", "be", "able",...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1880-L1927
[ "def", "replicate_vm_image", "(", "self", ",", "vm_image_name", ",", "regions", ",", "offer", ",", "sku", ",", "version", ")", ":", "_validate_not_none", "(", "'vm_image_name'", ",", "vm_image_name", ")", "_validate_not_none", "(", "'regions'", ",", "regions", "...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.unreplicate_vm_image
Unreplicate a VM image from all regions This operation is only for publishers. You have to be registered as image publisher with Microsoft Azure to be able to call this vm_image_name: Specifies the name of the VM Image that is to be used for unreplication. The VM Image N...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def unreplicate_vm_image(self, vm_image_name): ''' Unreplicate a VM image from all regions This operation is only for publishers. You have to be registered as image publisher with Microsoft Azure to be able to call this vm_image_name: Specifies the name of the VM Ima...
def unreplicate_vm_image(self, vm_image_name): ''' Unreplicate a VM image from all regions This operation is only for publishers. You have to be registered as image publisher with Microsoft Azure to be able to call this vm_image_name: Specifies the name of the VM Ima...
[ "Unreplicate", "a", "VM", "image", "from", "all", "regions", "This", "operation", "is", "only", "for", "publishers", ".", "You", "have", "to", "be", "registered", "as", "image", "publisher", "with", "Microsoft", "Azure", "to", "be", "able", "to", "call", "...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1929-L1948
[ "def", "unreplicate_vm_image", "(", "self", ",", "vm_image_name", ")", ":", "_validate_not_none", "(", "'vm_image_name'", ",", "vm_image_name", ")", "return", "self", ".", "_perform_put", "(", "self", ".", "_get_unreplication_path_using_vm_image_name", "(", "vm_image_na...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.share_vm_image
Share an already replicated OS image. This operation is only for publishers. You have to be registered as image publisher with Windows Azure to be able to call this. vm_image_name: The name of the virtual machine image to share permission: The sharing permission:...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def share_vm_image(self, vm_image_name, permission): ''' Share an already replicated OS image. This operation is only for publishers. You have to be registered as image publisher with Windows Azure to be able to call this. vm_image_name: The name of the virtual machi...
def share_vm_image(self, vm_image_name, permission): ''' Share an already replicated OS image. This operation is only for publishers. You have to be registered as image publisher with Windows Azure to be able to call this. vm_image_name: The name of the virtual machi...
[ "Share", "an", "already", "replicated", "OS", "image", ".", "This", "operation", "is", "only", "for", "publishers", ".", "You", "have", "to", "be", "registered", "as", "image", "publisher", "with", "Windows", "Azure", "to", "be", "able", "to", "call", "thi...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1950-L1970
[ "def", "share_vm_image", "(", "self", ",", "vm_image_name", ",", "permission", ")", ":", "_validate_not_none", "(", "'vm_image_name'", ",", "vm_image_name", ")", "_validate_not_none", "(", "'permission'", ",", "permission", ")", "path", "=", "self", ".", "_get_sha...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.capture_vm_image
Creates a copy of the operating system virtual hard disk (VHD) and all of the data VHDs that are associated with the Virtual Machine, saves the VHD copies in the same storage location as the original VHDs, and registers the copies as a VM Image in the image repository that is associated ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def capture_vm_image(self, service_name, deployment_name, role_name, options): ''' Creates a copy of the operating system virtual hard disk (VHD) and all of the data VHDs that are associated with the Virtual Machine, saves the VHD copies in the same storage location as the original VHDs,...
def capture_vm_image(self, service_name, deployment_name, role_name, options): ''' Creates a copy of the operating system virtual hard disk (VHD) and all of the data VHDs that are associated with the Virtual Machine, saves the VHD copies in the same storage location as the original VHDs,...
[ "Creates", "a", "copy", "of", "the", "operating", "system", "virtual", "hard", "disk", "(", "VHD", ")", "and", "all", "of", "the", "data", "VHDs", "that", "are", "associated", "with", "the", "Virtual", "Machine", "saves", "the", "VHD", "copies", "in", "t...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1972-L2022
[ "def", "capture_vm_image", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_name", ",", "options", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "deployment_nam...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.create_vm_image
Creates a VM Image in the image repository that is associated with the specified subscription using a specified set of virtual hard disks. vm_image: An instance of VMImage class. vm_image.name: Required. Specifies the name of the image. vm_image.label: Required. Specifies an...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def create_vm_image(self, vm_image): ''' Creates a VM Image in the image repository that is associated with the specified subscription using a specified set of virtual hard disks. vm_image: An instance of VMImage class. vm_image.name: Required. Specifies the name of ...
def create_vm_image(self, vm_image): ''' Creates a VM Image in the image repository that is associated with the specified subscription using a specified set of virtual hard disks. vm_image: An instance of VMImage class. vm_image.name: Required. Specifies the name of ...
[ "Creates", "a", "VM", "Image", "in", "the", "image", "repository", "that", "is", "associated", "with", "the", "specified", "subscription", "using", "a", "specified", "set", "of", "virtual", "hard", "disks", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L2024-L2109
[ "def", "create_vm_image", "(", "self", ",", "vm_image", ")", ":", "_validate_not_none", "(", "'vm_image'", ",", "vm_image", ")", "_validate_not_none", "(", "'vm_image.name'", ",", "vm_image", ".", "name", ")", "_validate_not_none", "(", "'vm_image.label'", ",", "v...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.delete_vm_image
Deletes the specified VM Image from the image repository that is associated with the specified subscription. vm_image_name: The name of the image. delete_vhd: Deletes the underlying vhd blob in Azure storage.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def delete_vm_image(self, vm_image_name, delete_vhd=False): ''' Deletes the specified VM Image from the image repository that is associated with the specified subscription. vm_image_name: The name of the image. delete_vhd: Deletes the underlying vhd blob ...
def delete_vm_image(self, vm_image_name, delete_vhd=False): ''' Deletes the specified VM Image from the image repository that is associated with the specified subscription. vm_image_name: The name of the image. delete_vhd: Deletes the underlying vhd blob ...
[ "Deletes", "the", "specified", "VM", "Image", "from", "the", "image", "repository", "that", "is", "associated", "with", "the", "specified", "subscription", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L2111-L2125
[ "def", "delete_vm_image", "(", "self", ",", "vm_image_name", ",", "delete_vhd", "=", "False", ")", ":", "_validate_not_none", "(", "'vm_image_name'", ",", "vm_image_name", ")", "path", "=", "self", ".", "_get_vm_image_path", "(", "vm_image_name", ")", "if", "del...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.list_vm_images
Retrieves a list of the VM Images from the image repository that is associated with the specified subscription.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def list_vm_images(self, location=None, publisher=None, category=None): ''' Retrieves a list of the VM Images from the image repository that is associated with the specified subscription. ''' path = self._get_vm_image_path() query = '' if location: que...
def list_vm_images(self, location=None, publisher=None, category=None): ''' Retrieves a list of the VM Images from the image repository that is associated with the specified subscription. ''' path = self._get_vm_image_path() query = '' if location: que...
[ "Retrieves", "a", "list", "of", "the", "VM", "Images", "from", "the", "image", "repository", "that", "is", "associated", "with", "the", "specified", "subscription", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L2127-L2142
[ "def", "list_vm_images", "(", "self", ",", "location", "=", "None", ",", "publisher", "=", "None", ",", "category", "=", "None", ")", ":", "path", "=", "self", ".", "_get_vm_image_path", "(", ")", "query", "=", "''", "if", "location", ":", "query", "+=...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.update_vm_image
Updates a VM Image in the image repository that is associated with the specified subscription. vm_image_name: Name of image to update. vm_image: An instance of VMImage class. vm_image.label: Optional. Specifies an identifier for the image. vm_image.os_dis...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def update_vm_image(self, vm_image_name, vm_image): ''' Updates a VM Image in the image repository that is associated with the specified subscription. vm_image_name: Name of image to update. vm_image: An instance of VMImage class. vm_image.label: ...
def update_vm_image(self, vm_image_name, vm_image): ''' Updates a VM Image in the image repository that is associated with the specified subscription. vm_image_name: Name of image to update. vm_image: An instance of VMImage class. vm_image.label: ...
[ "Updates", "a", "VM", "Image", "in", "the", "image", "repository", "that", "is", "associated", "with", "the", "specified", "subscription", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L2144-L2203
[ "def", "update_vm_image", "(", "self", ",", "vm_image_name", ",", "vm_image", ")", ":", "_validate_not_none", "(", "'vm_image_name'", ",", "vm_image_name", ")", "_validate_not_none", "(", "'vm_image'", ",", "vm_image", ")", "return", "self", ".", "_perform_put", "...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.add_os_image
Adds an OS image that is currently stored in a storage account in your subscription to the image repository. label: Specifies the friendly name of the image. media_link: Specifies the location of the blob in Windows Azure blob store where the media for the im...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def add_os_image(self, label, media_link, name, os): ''' Adds an OS image that is currently stored in a storage account in your subscription to the image repository. label: Specifies the friendly name of the image. media_link: Specifies the location of th...
def add_os_image(self, label, media_link, name, os): ''' Adds an OS image that is currently stored in a storage account in your subscription to the image repository. label: Specifies the friendly name of the image. media_link: Specifies the location of th...
[ "Adds", "an", "OS", "image", "that", "is", "currently", "stored", "in", "a", "storage", "account", "in", "your", "subscription", "to", "the", "image", "repository", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L2228-L2255
[ "def", "add_os_image", "(", "self", ",", "label", ",", "media_link", ",", "name", ",", "os", ")", ":", "_validate_not_none", "(", "'label'", ",", "label", ")", "_validate_not_none", "(", "'media_link'", ",", "media_link", ")", "_validate_not_none", "(", "'name...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.update_os_image
Updates an OS image that in your image repository. image_name: The name of the image to update. label: Specifies the friendly name of the image to be updated. You cannot use this operation to update images provided by the Windows Azure platform. m...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def update_os_image(self, image_name, label, media_link, name, os): ''' Updates an OS image that in your image repository. image_name: The name of the image to update. label: Specifies the friendly name of the image to be updated. You cannot use this ...
def update_os_image(self, image_name, label, media_link, name, os): ''' Updates an OS image that in your image repository. image_name: The name of the image to update. label: Specifies the friendly name of the image to be updated. You cannot use this ...
[ "Updates", "an", "OS", "image", "that", "in", "your", "image", "repository", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L2257-L2288
[ "def", "update_os_image", "(", "self", ",", "image_name", ",", "label", ",", "media_link", ",", "name", ",", "os", ")", ":", "_validate_not_none", "(", "'image_name'", ",", "image_name", ")", "_validate_not_none", "(", "'label'", ",", "label", ")", "_validate_...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.update_os_image_from_image_reference
Updates metadata elements from a given OS image reference. image_name: The name of the image to update. os_image: An instance of OSImage class. os_image.label: Optional. Specifies an identifier for the image. os_image.description: Optional. Specifies the descript...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def update_os_image_from_image_reference(self, image_name, os_image): ''' Updates metadata elements from a given OS image reference. image_name: The name of the image to update. os_image: An instance of OSImage class. os_image.label: Optional. Specifies a...
def update_os_image_from_image_reference(self, image_name, os_image): ''' Updates metadata elements from a given OS image reference. image_name: The name of the image to update. os_image: An instance of OSImage class. os_image.label: Optional. Specifies a...
[ "Updates", "metadata", "elements", "from", "a", "given", "OS", "image", "reference", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L2290-L2340
[ "def", "update_os_image_from_image_reference", "(", "self", ",", "image_name", ",", "os_image", ")", ":", "_validate_not_none", "(", "'image_name'", ",", "image_name", ")", "_validate_not_none", "(", "'os_image'", ",", "os_image", ")", "return", "self", ".", "_perfo...
d7306fde32f60a293a7567678692bdad31e4b667